From 96ddeb79d270284e4b2b4f183547580598d7b58c Mon Sep 17 00:00:00 2001 From: Zomatree Date: Mon, 18 Aug 2025 07:28:09 +0100 Subject: [PATCH] fix: dont set max participants in livekit --- crates/core/database/src/voice/voice_client.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/crates/core/database/src/voice/voice_client.rs b/crates/core/database/src/voice/voice_client.rs index 1321468f..cf76b44d 100644 --- a/crates/core/database/src/voice/voice_client.rs +++ b/crates/core/database/src/voice/voice_client.rs @@ -95,15 +95,10 @@ impl VoiceClient { pub async fn create_room(&self, node: &str, channel: &Channel) -> Result { let room = self.get_node(node)?; - let voice = channel - .voice() - .ok_or_else(|| create_error!(NotAVoiceChannel))?; - room.client .create_room( channel.id(), CreateRoomOptions { - max_participants: voice.max_users.unwrap_or(0) as u32, empty_timeout: 5 * 60, // 5 minutes, ..Default::default() },