HomeViewController: Add missing table reload.

This commit is contained in:
giomfo 2015-06-04 11:38:45 +02:00
parent 553820619b
commit 9b1cf0fbb4

View file

@ -208,6 +208,8 @@ NSString *const kHomeViewControllerPublicRoomCellId = @"kHomeViewControllerPubli
// Report the related REST Client to retrieve public rooms // Report the related REST Client to retrieve public rooms
[self addRestClient:mxSession.matrixRestClient]; [self addRestClient:mxSession.matrixRestClient];
[self.tableView reloadData];
} }
- (void)removeMatrixSession:(MXSession *)mxSession { - (void)removeMatrixSession:(MXSession *)mxSession {
@ -215,6 +217,8 @@ NSString *const kHomeViewControllerPublicRoomCellId = @"kHomeViewControllerPubli
// Remove the related REST Client // Remove the related REST Client
[self removeRestClient:mxSession.matrixRestClient]; [self removeRestClient:mxSession.matrixRestClient];
[self.tableView reloadData];
} }
#pragma mark - #pragma mark -