fix: include channel ids in UserMoveVoiceChannel

This commit is contained in:
Zomatree
2025-10-22 19:54:24 +01:00
parent 6ba48a0197
commit c5eb48450b
2 changed files with 5 additions and 1 deletions

View File

@@ -295,7 +295,9 @@ pub enum EventV1 {
},
UserMoveVoiceChannel {
node: String,
token: String
from: String,
to: String,
token: String,
}
}

View File

@@ -217,6 +217,8 @@ pub async fn edit(
EventV1::UserMoveVoiceChannel {
node: new_node,
from: old_voice_channel.id().to_string(),
to: new_voice_channel.id().to_string(),
token,
}
.p_user(target_user.id.clone(), db)