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
+7
View File
@@ -1080,6 +1080,8 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
self.jumpToLastUnreadBannerContainer.hidden = YES;
[super leaveRoomOnEvent:event];
[[LegacyAppDelegate theDelegate] restoreInitialDisplay:nil];
}
// Set the input toolbar according to the current display
@@ -6146,6 +6148,11 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
[self mention:member];
}
- (void)roomInfoCoordinatorBridgePresenterDelegateDidLeaveRoom:(RoomInfoCoordinatorBridgePresenter *)coordinatorBridgePresenter
{
[[LegacyAppDelegate theDelegate] restoreInitialDisplay:nil];
}
#pragma mark - RemoveJitsiWidgetViewDelegate
- (void)removeJitsiWidgetViewDidCompleteSliding:(RemoveJitsiWidgetView *)view