We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e5390a commit 42495fbCopy full SHA for 42495fb
1 file changed
browser-extension/event_handlers/participants_event_handler.js
@@ -1,9 +1,18 @@
1
-class ParticipantsEventHandler extends SidepanelEventHandler {
+class ParticipantsEventHandler extends SDEventHandler {
2
3
handleStreamDeckEvent = (message) => {
4
if (message.event === "toggleParticipants") {
5
- this._toggleSidepanel(1)
+ this._toggleParticipants();
6
}
7
8
9
-}
+ _toggleParticipants = () => {
10
+ const participantsButton = document.querySelector('div[jsname="QbKf1d"]');
11
+ if (participantsButton) {
12
+ participantsButton.click();
13
+ } else {
14
+ throw new ControlsNotFoundError("No Participants button found!");
15
+ }
16
+ };
17
+
18
+}
0 commit comments