mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 06:36:58 +02: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:
@@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user