Fixes #448 - Prevent room timelines from becoming stale if the room drops out of the sliding sync window
This commit is contained in:
committed by
Stefan Ceriu
parent
e54a202a44
commit
041a21e65d
@@ -141,7 +141,7 @@ class RoomProxy: RoomProxyProtocol {
|
||||
}
|
||||
|
||||
func addTimelineListener(listener: TimelineListener) -> Result<Void, RoomProxyError> {
|
||||
if let token = slidingSyncRoom.addTimelineListener(listener: listener) {
|
||||
if let token = slidingSyncRoom.subscribeAndAddTimelineListener(listener: listener, settings: nil) {
|
||||
timelineObservationToken = token
|
||||
return .success(())
|
||||
} else {
|
||||
|
||||
1
changelog.d/448.bugfix
Normal file
1
changelog.d/448.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
Prevent room timelines from becoming stale if the room drops out of the sliding sync window
|
||||
Reference in New Issue
Block a user