Fix local echos not being shown when re-opening rooms

Change-Id: Ib07f290028b7e97b64f3712c2cac01b5038f8dc8
This commit is contained in:
SpiritCroc 2022-03-15 19:31:20 +01:00
parent 4d8cedf6e5
commit 4bb246ffe1
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ internal class RealmSendingEventsDataSource(
roomEntity = RoomEntity.where(safeRealm, roomId = roomId).findFirst() roomEntity = RoomEntity.where(safeRealm, roomId = roomId).findFirst()
sendingTimelineEvents = roomEntity?.sendingTimelineEvents sendingTimelineEvents = roomEntity?.sendingTimelineEvents
sendingTimelineEvents?.addChangeListener(sendingTimelineEventsListener) sendingTimelineEvents?.addChangeListener(sendingTimelineEventsListener)
updateFrozenResults(sendingTimelineEvents)
} }
override fun stop() { override fun stop() {