chore: switch to ids for parameter

This commit is contained in:
Zomatree committed 2025-02-02 13:46:45 +00:00
1 parent 742eb3bb7d
commit 2593a4272b
8 files changed
+26 -17

No files matched your search

@@ -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()
}