From b4ea75cf1ae744fae8bee2a0652e792435b499cd Mon Sep 17 00:00:00 2001 From: Zomatree Date: Thu, 23 Oct 2025 15:52:16 +0100 Subject: [PATCH] fix: dont set notification recipients when empty vec is passed --- crates/delta/src/routes/channels/voice_join.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/delta/src/routes/channels/voice_join.rs b/crates/delta/src/routes/channels/voice_join.rs index 75075f35..670c5032 100644 --- a/crates/delta/src/routes/channels/voice_join.rs +++ b/crates/delta/src/routes/channels/voice_join.rs @@ -103,7 +103,7 @@ pub async fn call( log::debug!("Created room {}", room.name); if let Some(recipients) = recipients { - if room.num_participants == 0 { + if room.num_participants == 0 && !recipients.is_empty() { set_call_notification_recipients(channel.id(), &user.id, &recipients).await?; } }