forked from jmug/stoatchat
fix: include channel ids in UserMoveVoiceChannel
This commit is contained in:
@@ -295,7 +295,9 @@ pub enum EventV1 {
|
|||||||
},
|
},
|
||||||
UserMoveVoiceChannel {
|
UserMoveVoiceChannel {
|
||||||
node: String,
|
node: String,
|
||||||
token: String
|
from: String,
|
||||||
|
to: String,
|
||||||
|
token: String,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -217,6 +217,8 @@ pub async fn edit(
|
|||||||
|
|
||||||
EventV1::UserMoveVoiceChannel {
|
EventV1::UserMoveVoiceChannel {
|
||||||
node: new_node,
|
node: new_node,
|
||||||
|
from: old_voice_channel.id().to_string(),
|
||||||
|
to: new_voice_channel.id().to_string(),
|
||||||
token,
|
token,
|
||||||
}
|
}
|
||||||
.p_user(target_user.id.clone(), db)
|
.p_user(target_user.id.clone(), db)
|
||||||
|
|||||||
Reference in New Issue
Block a user