mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 11:30:50 +02:00
Show room after accepting invite
This commit is contained in:
@@ -1018,9 +1018,13 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro
|
||||
return;
|
||||
}
|
||||
|
||||
// Accept invitation
|
||||
// Accept invitation and show room
|
||||
Analytics.shared.joinedRoomTrigger = AnalyticsJoinedRoomTriggerInvite;
|
||||
[self joinRoom:invitedRoom completion:nil];
|
||||
[self joinRoom:invitedRoom completion:^(BOOL succeed) {
|
||||
if (succeed) {
|
||||
[self showRoomWithRoomId:invitedRoom.roomId inMatrixSession:invitedRoom.mxSession];
|
||||
}
|
||||
}];
|
||||
}
|
||||
else if ([actionIdentifier isEqualToString:kInviteRecentTableViewCellDeclineButtonPressed])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user