Replace old visible rooms range with subscriptions in the room list. (#3014)

* Add a SubscriptionTracker actor to RoomProxy.

* Request subscriptions when scrolling rooms.

* Stop unsubscribing in preparation for Simplified Sliding Sync.
This commit is contained in:
Doug
2024-07-08 14:32:13 +01:00
committed by GitHub
parent bf9e1d614f
commit a1329d9d54
6 changed files with 31 additions and 58 deletions
@@ -66,8 +66,6 @@ protocol RoomProxyProtocol {
func subscribeForUpdates() async
func unsubscribeFromUpdates()
func timelineFocusedOnEvent(eventID: String, numberOfEvents: UInt16) async -> Result<TimelineProxyProtocol, RoomProxyError>
func redact(_ eventID: String) async -> Result<Void, RoomProxyError>