Fixes #1482 - Popping the user back to the home screen after leaving a room.

This commit is contained in:
Stefan Ceriu
2021-08-13 17:02:47 +03:00
committed by Stefan Ceriu
parent bfa533bd24
commit 216300e687
10 changed files with 25 additions and 2 deletions
@@ -3494,7 +3494,7 @@ NSString *const kRoomSettingsAdvancedE2eEnabledCellViewIdentifier = @"kRoomSetti
[self startActivityIndicator];
[self->mxRoom leave:^{
[self withdrawViewControllerAnimated:YES completion:nil];
[[LegacyAppDelegate theDelegate] restoreInitialDisplay:nil];
} failure:^(NSError *error) {