fix: dont break on user not still being in channel and force disconnecting

This commit is contained in:
Zomatree
2025-10-20 00:29:56 +01:00
parent 6ab264eb36
commit 47002ec81c
7 changed files with 22 additions and 20 deletions

View File

@@ -244,7 +244,7 @@ pub async fn ingress(
if disconnect {
log::debug!("Removing user {user_id} from channel {channel_id} {event:?} due to forbidden track.");
voice_client.remove_user(node, user_id, channel_id).await?;
let _ = voice_client.remove_user(node, user_id, channel_id).await;
delete_voice_state(channel_id, channel.server(), user_id).await?;
return Ok(EmptyResponse);