Skip to content

Commit

Permalink
Merge pull request #5551 from SpiritCroc/local-echo
Browse files Browse the repository at this point in the history
Fix local echos not being shown when re-opening rooms
  • Loading branch information
ganfra authored Mar 21, 2022
2 parents 4a8aead + 856f25f commit 794131d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/5551.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix local echos not being shown when re-opening rooms
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 794131d

Please sign in to comment.