fix: voice system messages and call notifs by fetching participant list (#846)

Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
Zomatree
2026-07-07 06:37:27 +01:00
committed by GitHub
parent 21daf3aec6
commit 0b53db9921
2 changed files with 104 additions and 92 deletions

View File

@@ -159,4 +159,17 @@ impl VoiceClient {
.await
.to_internal_error()
}
pub async fn get_room_participants(
&self,
node: &str,
channel_id: &str,
) -> Result<Vec<ParticipantInfo>> {
let room = self.get_node(node)?;
room.client
.list_participants(channel_id)
.await
.to_internal_error()
}
}