Read markers should be synchronised across clients

- Support jump to the last unread message.

vector-im/riot-meta#8
This commit is contained in:
Giom Foret
2017-06-06 10:53:17 +02:00
parent c2b62a3ea4
commit 61a087c7cb
6 changed files with 57 additions and 19 deletions
+3 -1
View File
@@ -51,6 +51,8 @@
// Set bubble pagination
self.bubblesPagination = MXKRoomDataSourceBubblesPaginationPerDay;
self.markTimelineInitialEvent = NO;
}
return self;
}
@@ -293,7 +295,7 @@
}
// Manage initial event (case of permalink or search result)
if (self.timeline.initialEventId)
if (self.timeline.initialEventId && self.markTimelineInitialEvent)
{
// Check if the cell contains this initial event
for (NSUInteger index = 0; index < bubbleComponents.count; index++)