mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 15:52:40 +00:00
Initialise the read marker if it does not exist yet.
Set it to the current read receipt position by default
This commit is contained in:
parent
7d329aaac2
commit
5543d8ee18
1 changed files with 7 additions and 0 deletions
|
@ -3545,6 +3545,13 @@
|
|||
else
|
||||
{
|
||||
self.jumpToLastUnreadBannerContainer.hidden = YES;
|
||||
|
||||
// Initialize the read marker if it does not exist yet
|
||||
if (!self.roomDataSource.room.accountData.readMarkerEventId)
|
||||
{
|
||||
// Move the read marker to the current read receipt position by default.
|
||||
[self.roomDataSource.room forgetReadMarker];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue