summaryrefslogtreecommitdiffstats
path: root/src/mixins/getParticipants.js
diff options
context:
space:
mode:
authorMaksim Sukharev <antreesy.web@gmail.com>2023-02-16 10:24:32 +0100
committerMaksim Sukharev <antreesy.web@gmail.com>2023-02-16 10:24:32 +0100
commit44230b2fd09029a7a51f8f1fe40ca61c090c6920 (patch)
treeb275629b34bac5915927540d9e3eb089d0d41fd7 /src/mixins/getParticipants.js
parentfe2b62da2b4e9a1139ddf592fcd510b3138c6152 (diff)
disable fetching participants for guests - non-moderators
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
Diffstat (limited to 'src/mixins/getParticipants.js')
-rw-r--r--src/mixins/getParticipants.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mixins/getParticipants.js b/src/mixins/getParticipants.js
index 1f3bd7aad..6d32fab85 100644
--- a/src/mixins/getParticipants.js
+++ b/src/mixins/getParticipants.js
@@ -110,7 +110,7 @@ const getParticipants = {
}, 3000),
async cancelableGetParticipants() {
- if (this.token === '' || this.isInLobby) {
+ if (this.token === '' || this.isInLobby || !this.isModeratorOrUser) {
return
}