MESSENGER-4882 changelog and fixes

This commit is contained in:
JanNiklas Grabowski
2023-07-04 15:16:20 +02:00
parent 4b436752af
commit cc3f55e0e2
8 changed files with 72 additions and 12 deletions
@@ -1678,13 +1678,7 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
[self peekInRoomWithNavigationParameters:roomPreviewNavigationParameters pathParams:pathParams];
}
} failure:^(NSError *error) {
// bwi #4742: check if the room is still available
NSHTTPURLResponse *response = error.userInfo[@"httpResponse"];
if (response.statusCode == 404) {
[self showAlertWithTitle:BWIL10n.bwiErrorRoomNotAvailableTitle message:BWIL10n.bwiErrorRoomNotAvailableMessage];
} else {
[self peekInRoomWithNavigationParameters:roomPreviewNavigationParameters pathParams:pathParams];
}
}];
}