mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
MESSENGER-5716 change error message federated invite
This commit is contained in:
@@ -993,6 +993,12 @@ static const CGFloat kCellVisibilityMinimumHeight = 8.0;
|
||||
msg = [VectorL10n roomErrorJoinFailedEmptyRoom];
|
||||
}
|
||||
|
||||
// bwi: #5716 show custom error message when the federation was disabled after the user has been invited to a federated room
|
||||
if ([msg isEqualToString:@"Server is banned from room"])
|
||||
{
|
||||
msg = BWIL10n.roomErrorJoinFailedFederationDisabledMessage;
|
||||
}
|
||||
|
||||
MXWeakify(self);
|
||||
[self->currentAlert dismissViewControllerAnimated:NO completion:nil];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user