Merge branch 'develop' into resilience-rc

# Conflicts:
#	Riot.xcworkspace/xcshareddata/swiftpm/Package.resolved
#	RiotSwiftUI/Modules/Room/Composer/View/Composer.swift
#	project.yml
This commit is contained in:
aringenbach
2022-11-07 15:05:25 +01:00
138 changed files with 1484 additions and 637 deletions
+6 -1
View File
@@ -368,6 +368,8 @@
// Mark all messages as read when the room is displayed
[self.roomDataSource.room.summary markAllAsReadLocally];
[self updateCurrentEventIdAtTableBottom:YES];
}
- (void)viewWillDisappear:(BOOL)animated
@@ -2497,7 +2499,10 @@
updateReadMarker = (currentReadMarkerEvent && (currentReadMarkerEvent.originServerTs <= component.event.originServerTs));
}
[roomDataSource.room acknowledgeEvent:component.event andUpdateReadMarker:updateReadMarker];
if (self.navigationController.viewControllers.lastObject == self)
{
[roomDataSource.room acknowledgeEvent:component.event andUpdateReadMarker:updateReadMarker];
}
}
break;
}