Fix local echos not being shown when re-opening rooms

This commit is contained in:
SpiritCroc 2022-03-15 19:31:20 +01:00
parent 17d363cf9a
commit 856f25f684
2 changed files with 2 additions and 0 deletions

1
changelog.d/5551.bugfix Normal file
View File

@ -0,0 +1 @@
Fix local echos not being shown when re-opening rooms

View File

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