Read Marker: Center the bubbles table content on the bottom of the read marker event

in order to display correctly the read marker view.
This commit is contained in:
Giom Foret
2017-06-08 12:29:23 +02:00
parent 33a4897ef1
commit 3ad94887f8
+2
View File
@@ -2477,6 +2477,8 @@
roomDataSource = [[RoomDataSource alloc] initWithRoomId:self.roomDataSource.roomId initialEventId:self.roomDataSource.room.accountData.readMarkerEventId andMatrixSession:self.mainSession];
[roomDataSource finalizeInitialization];
// Center the bubbles table content on the bottom of the read marker event in order to display correctly the read marker view.
self.centerBubblesTableViewContentOnTheInitialEventBottom = YES;
[self displayRoom:roomDataSource];
// Give the data source ownership to the room view controller.