MESSENGER-5383 Check alias on acl update

This commit is contained in:
JanNiklas Grabowski
2024-01-30 12:45:05 +01:00
parent 80170b0c4f
commit ba4e145039
5 changed files with 70 additions and 11 deletions
@@ -1709,6 +1709,9 @@ BOOL reloadToggleCell = false;
if (serverACLRule)
{
// bwi: #5383 set alias
[mxRoom setAliasIfNeeded];
NSDictionary *content = [mxRoom createServerACLContentWithServerACL:serverACLRule];
pendingOperation = [mxRoom sendStateEventOfType:kMXEventTypeStringRoomServerACL content:content stateKey:nil success:^(NSString *eventId) {