Merge pull request #5551 from SpiritCroc/local-echo

Fix local echos not being shown when re-opening rooms
This commit is contained in:
ganfra 2022-03-21 19:24:07 +01:00 committed by GitHub
commit 794131d274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() {