[mirotalksfu] - #22 add real-time polls

هذا الالتزام موجود في:
Miroslav Pejic
2024-07-18 08:50:57 +02:00
الأصل 55c7da49cd
التزام e5785538ef
11 ملفات معدلة مع 589 إضافات و6 حذوفات

عرض الملف

@@ -28,6 +28,8 @@ const commands = {
chatOn: 'open the chat',
chatSend: 'send',
chatOff: 'close the chat',
pollOn: 'open the poll',
pollOff: 'close the poll',
toggleTr: 'toggle transcription',
whiteboardOn: 'open the whiteboard',
whiteboardOff: 'close the whiteboard',
@@ -186,6 +188,14 @@ function execVoiceCommands(transcript) {
printCommand(commands.chatOn);
chatButton.click();
break;
case commands.pollOn:
printCommand(commands.pollOn);
pollButton.click();
break;
case commands.pollOff:
printCommand(commands.pollOff);
pollCloseBtn.click();
break;
case commands.chatSend:
printCommand(commands.chatSend);
chatSendButton.click();