Room messages preview: improved comments

This commit is contained in:
manuroe
2016-06-08 18:29:35 +02:00
parent d60501b530
commit 2e62b485ba
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -404,7 +404,8 @@
MXSession *mxSession = _currentRoomViewController.roomDataSource.mxSession;
MXKRoomDataSourceManager *roomDataSourceManager = [MXKRoomDataSourceManager sharedManagerForMatrixSession:mxSession];
// Let the manager release this live room data source
// Let the manager release live room data sources where the user is in
// and force close all others.
BOOL forceClose = !_currentRoomViewController.roomDataSource.isLive || _currentRoomViewController.roomDataSource.isPeeking;
[roomDataSourceManager closeRoomDataSource:_currentRoomViewController.roomDataSource forceClose:forceClose];
}