From ae382237d045aa6dcc1cb6099e80145a3b1bdee4 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Thu, 7 Nov 2024 14:48:38 +0100 Subject: [PATCH] fix: non-moderators should not query participants from server Signed-off-by: Maksim Sukharev --- src/components/RightSidebar/Participants/ParticipantsTab.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/RightSidebar/Participants/ParticipantsTab.vue b/src/components/RightSidebar/Participants/ParticipantsTab.vue index d814d5cca97..892c70163c1 100644 --- a/src/components/RightSidebar/Participants/ParticipantsTab.vue +++ b/src/components/RightSidebar/Participants/ParticipantsTab.vue @@ -256,6 +256,9 @@ export default { }, handleInput() { + if (!this.canAdd) { + return + } this.contactsLoading = true this.searchResults = [] this.debounceFetchSearchResults()