File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Riot/Modules/Common/Recents Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1018,9 +1018,13 @@ - (void)dataSource:(MXKDataSource *)dataSource didRecognizeAction:(NSString *)ac
10181018 return ;
10191019 }
10201020
1021- // Accept invitation
1021+ // Accept invitation and show room
10221022 Analytics.shared .joinedRoomTrigger = AnalyticsJoinedRoomTriggerInvite;
1023- [self joinRoom: invitedRoom completion: nil ];
1023+ [self joinRoom: invitedRoom completion: ^(BOOL succeed) {
1024+ if (succeed) {
1025+ [self showRoomWithRoomId: invitedRoom.roomId inMatrixSession: invitedRoom.mxSession];
1026+ }
1027+ }];
10241028 }
10251029 else if ([actionIdentifier isEqualToString: kInviteRecentTableViewCellDeclineButtonPressed ])
10261030 {
Original file line number Diff line number Diff line change 1+ Open the room when user accepts an invite from the room list
You can’t perform that action at this time.
0 commit comments