fix(community-edit): Save permissions when community edited (#2720)
Part of: https://github.com/status-im/status-desktop/issues/6073
This commit is contained in:
parent
1c77f2ed6e
commit
8063152657
|
@ -746,6 +746,7 @@ func (o *Community) Edit(description *protobuf.CommunityDescription) {
|
|||
if o.config.CommunityDescription.AdminSettings == nil {
|
||||
o.config.CommunityDescription.AdminSettings = &protobuf.CommunityAdminSettings{}
|
||||
}
|
||||
o.config.CommunityDescription.Permissions = description.Permissions
|
||||
o.config.CommunityDescription.AdminSettings.PinMessageAllMembersEnabled = description.AdminSettings.PinMessageAllMembersEnabled
|
||||
o.increaseClock()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue