fix: dont set notification recipients when empty vec is passed

This commit is contained in:
Zomatree
2025-10-23 15:52:16 +01:00
parent 8d8e8f2cf1
commit b4ea75cf1a

View File

@@ -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?;
}
}