From 03addd4ea901418342853096fe16c019a80bbb64 Mon Sep 17 00:00:00 2001 From: Eric Mastro Date: Mon, 24 May 2021 16:27:46 +1000 Subject: [PATCH] =?UTF-8?q?feat:=20force=20=E2=80=98require=20approval?= =?UTF-8?q?=E2=80=99=20membership=20requirement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For new and existing communities, force the `require approval` membership requirement in the create/edit community popup. ### NOTE This will not affect the membership requirement value already-created communities. --- .../Chat/CommunityComponents/CreateCommunityPopup.qml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml b/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml index a1bbf7f8fc..ee3724062b 100644 --- a/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml +++ b/ui/app/AppLayouts/Chat/CommunityComponents/CreateCommunityPopup.qml @@ -348,6 +348,9 @@ ModalPopup { StatusSettingsLineButton { id: membershipRequirementSetting + // TODO: remove 'isEnabled: false' when we no longer need to force + // "request access" membership + isEnabled: false anchors.top: separator1.bottom anchors.topMargin: Style.current.halfPadding text: qsTr("Membership requirement") @@ -420,6 +423,9 @@ ModalPopup { MembershipRequirementPopup { id: membershipRequirementSettingPopup + // TODO: remove the 'checkedMemership' setting when we no longer need + // to force "require approval" membership + checkedMembership: Constants.communityChatOnRequestAccess } }