MESSENGER-5716 add error message to long press menu

This commit is contained in:
JanNiklas Grabowski
2024-06-06 16:35:04 +02:00
parent 75bc28eb6c
commit bec7269db9
3 changed files with 6 additions and 3 deletions
+1 -3
View File
@@ -992,9 +992,7 @@ static const CGFloat kCellVisibilityMinimumHeight = 8.0;
// 'Error when trying to join an empty room should be more explicit'
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"])
else if ([msg isEqualToString:@"Server is banned from room"]) // bwi: #5716 show custom error message when the federation was disabled after the user has been invited to a federated room
{
msg = BWIL10n.roomErrorJoinFailedFederationDisabledMessage;
}