mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 09:32:52 +02:00
MESSENGER-5383 Check alias on acl update
This commit is contained in:
@@ -163,6 +163,8 @@ struct RoomFederationDecisionView: View {
|
||||
func setServerACL(isFederated: Bool) {
|
||||
let content: [String:Any] = room.createServerACL(isFederated: isFederated)
|
||||
isUpdatingServerACLs = true
|
||||
// #5383 set alias
|
||||
room.setAliasIfNeeded()
|
||||
pendingRequest = room.sendStateEvent(MXEventType.roomServerACL, content: content, stateKey: "") { response in
|
||||
isUpdatingServerACLs = false
|
||||
if response.isSuccess {
|
||||
|
||||
Reference in New Issue
Block a user