RoomCoordinator: Add setup completion on start methods to fit LegacyAppDelegate calls.

This commit is contained in:
SBiOSoftWhare
2021-10-05 17:35:15 +02:00
parent 372eb463bd
commit 87f27c7575
5 changed files with 44 additions and 28 deletions
+2 -8
View File
@@ -587,15 +587,9 @@
_selectedRoomId = roomId;
_selectedEventId = eventId;
_selectedRoomSession = matrixSession;
_selectedRoomSession = matrixSession;
[self.masterTabBarDelegate masterTabBarController:self didSelectRoomWithId:roomId andEventId:eventId inMatrixSession:matrixSession];
// TODO: Add completion to delegate
if (completion)
{
completion();
}
[self.masterTabBarDelegate masterTabBarController:self didSelectRoomWithId:roomId andEventId:eventId inMatrixSession:matrixSession completion:completion];
[self refreshSelectedControllerIfNeeded];
}