SP2: Adding Rooms to Spaces #523o

- update after review
This commit is contained in:
Gil Eluard
2022-02-17 14:02:52 +01:00
parent 4c4df62de0
commit 68d9aed0ea
9 changed files with 46 additions and 32 deletions
@@ -1989,7 +1989,8 @@ NSString *const RecentsViewControllerDataReadyNotification = @"RecentsViewContro
// Sanity check
if (self.mainSession)
{
self.createRoomCoordinatorBridgePresenter = [[CreateRoomCoordinatorBridgePresenter alloc] initWithSession:self.mainSession parentSpace: self.dataSource.currentSpace];
CreateRoomCoordinatorParameter *parameters = [[CreateRoomCoordinatorParameter alloc] initWithSession:self.mainSession parentSpace: self.dataSource.currentSpace];
self.createRoomCoordinatorBridgePresenter = [[CreateRoomCoordinatorBridgePresenter alloc] initWithParameters:parameters];
self.createRoomCoordinatorBridgePresenter.delegate = self;
[self.createRoomCoordinatorBridgePresenter presentFrom:self animated:YES];
}