Dismiss room member view controller when user leaves the related room.

This commit is contained in:
giomfo
2015-04-16 14:20:40 +02:00
parent 49f933eb3a
commit 66277b6158
2 changed files with 23 additions and 2 deletions
@@ -81,6 +81,7 @@
if ([[segue destinationViewController] isKindOfClass:[MemberViewController class]]) {
if (selectedMember) {
currentMemberViewController = (MemberViewController *)[segue destinationViewController];
currentMemberViewController.mxSession = self.mxSession;
currentMemberViewController.mxRoomMember = selectedMember;
currentMemberViewController.mxRoom = [[MatrixSDKHandler sharedHandler].mxSession roomWithRoomId:self.dataSource.roomId];
}