This commit is contained in:
2026-08-27 14:42:35 +02:00
parent f28c9c0bdf
commit 23e6a2199f
4 changed files with 186 additions and 40 deletions
+11
View File
@@ -210,6 +210,17 @@ export default class Enclave<P = Page> {
case "JoinVoice":
server.voiceJoin && server.voiceJoin(msg.pin, msg.channel_id);
return;
case "UserJoinedVoice":
if (!server.voiceChatUsers[msg.channel_id])
server.voiceChatUsers[msg.channel_id] = [];
server.voiceChatUsers[msg.channel_id].push(msg.pubkey);
return;
case "Speaking":
server.voiceChatSpeaker(msg.pubkey);
return;
}
}
}