From 4c0b09e9f54d429c3ebb513af2f18d1ec0c37b0e Mon Sep 17 00:00:00 2001 From: Boris Melnik Date: Fri, 18 Feb 2022 13:58:42 +0300 Subject: [PATCH] fix(Groups): block add members button is you not group admin Closes: #4840 --- ui/app/AppLayouts/Chat/popups/GroupInfoPopup.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/AppLayouts/Chat/popups/GroupInfoPopup.qml b/ui/app/AppLayouts/Chat/popups/GroupInfoPopup.qml index e902abac11..2419b0b95c 100644 --- a/ui/app/AppLayouts/Chat/popups/GroupInfoPopup.qml +++ b/ui/app/AppLayouts/Chat/popups/GroupInfoPopup.qml @@ -279,7 +279,7 @@ StatusModal { rightButtons: [ StatusButton { - visible: !popup.addMembers + visible: !popup.addMembers && popup.isAdmin //% "Add members" text: qsTrId("add-members") onClicked: {