mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Switch to the sliding sync room for working with the timeline
This commit is contained in:
parent
92b22e19e2
commit
cee628e651
@ -37,7 +37,7 @@ class RoomProxy: RoomProxyProtocol {
|
||||
private var backPaginationOutcome: PaginationOutcome?
|
||||
|
||||
deinit {
|
||||
room.removeTimeline()
|
||||
slidingSyncRoom.removeTimeline()
|
||||
}
|
||||
|
||||
init(slidingSyncRoom: SlidingSyncRoomProtocol,
|
||||
@ -142,7 +142,7 @@ class RoomProxy: RoomProxyProtocol {
|
||||
}
|
||||
|
||||
func addTimelineListener(listener: TimelineListener) {
|
||||
room.addTimelineListener(listener: listener)
|
||||
slidingSyncRoom.addTimelineListener(listener: listener)
|
||||
}
|
||||
|
||||
func paginateBackwards(count: UInt) async -> Result<Void, RoomProxyError> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user