mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 21:47:02 +00:00
chore: switch to ids for parameter
This commit is contained in:
@@ -106,8 +106,8 @@ impl VoiceClient {
|
||||
.to_internal_error()
|
||||
}
|
||||
|
||||
pub async fn remove_user(&self, user: &User, channel_id: &str) -> Result<()> {
|
||||
self.rooms.remove_participant(channel_id, &user.id)
|
||||
pub async fn remove_user(&self, user_id: &str, channel_id: &str) -> Result<()> {
|
||||
self.rooms.remove_participant(channel_id, user_id)
|
||||
.await
|
||||
.to_internal_error()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user