mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-11 23:05:17 +00:00
feat: force ‘require approval’ membership requirement
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.
This commit is contained in:
parent
24d8e429b8
commit
03addd4ea9
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user