mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-29 20:56:57 +02:00
MXSession: Created const strings for keys passed in notification userInfo dict
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
|
||||
// Check whether the user will leave the room related to the displayed member
|
||||
if (notif.object == self.mxSession) {
|
||||
NSString *roomId = notif.userInfo[@"roomId"];
|
||||
NSString *roomId = notif.userInfo[kMXSessionNotificationRoomIdKey];
|
||||
if (roomId && [roomId isEqualToString:mxRoom.state.roomId]) {
|
||||
// We must remove the current view controller.
|
||||
[self withdrawViewControllerAnimated:YES completion:nil];
|
||||
|
||||
Reference in New Issue
Block a user