Room preview on a long press should not update the read receipt (#6027)

- Done
This commit is contained in:
Gil Eluard
2022-04-14 10:30:51 +02:00
committed by GitHub
parent f60689d3c8
commit f62b876f54
9 changed files with 92 additions and 13 deletions
@@ -2368,6 +2368,12 @@
- (void)updateCurrentEventIdAtTableBottom:(BOOL)acknowledge
{
// Do not update events if the controller is used as context menu preview.
if (self.isContextPreview)
{
return;
}
// Update the identifier of the event displayed at the bottom of the table, except if a rotation or other size transition is in progress.
if (!isSizeTransitionInProgress && !self.isBubbleTableViewDisplayInTransition)
{