SchildiChat-android/changelog.d
SpiritCroc cd45248f40 Fix modifying the wrong events in TimelineChunk
I was observing cases where builtEvents[modificationIndex] was not
having the same eventId as the udpatedEntity in handleDatabaseChangeSet.

In particular, I observed both cases that
- there was no item in the list yet with the same eventId as the updated
  one
- there was an item with the same eventId already in the list, but at a
  different position.

Whenever this happened, the timeline would render missing, duplicated,
or swapped messages in the timeline.

Instead of relying on the modificationIndex to be the same for both the
change set and builtEvents, look up the proper index by eventId.
2022-03-13 08:19:47 +01:00
..
.gitignore Rename towncrier folder from newsfragment to changelog.d 2021-06-18 21:33:50 +02:00
4860.bugfix Add colors for shield vector drawable 2022-03-10 17:15:19 +01:00
5260.misc include dms number in space unread number badge 2022-03-07 08:35:53 +01:00
5270.misc Amend spaces menu to have consistent copy 2022-03-07 08:32:31 +01:00
5346.misc change selected space highlight 2022-03-07 09:58:40 +01:00
5384.misc Add padding before our first message 2022-03-08 17:26:23 +01:00
5395.feature Adding changelog entry 2022-03-09 09:44:06 +01:00
5443.misc Adds changelog file 2022-03-08 16:54:05 +01:00
5448.bugfix Fix missing messages when forward paging with chunks > 50 messages 2022-03-08 10:54:27 +01:00
5501.misc use colorPrimary for tint 2022-03-10 14:30:15 +01:00
5528.bugfix Fix modifying the wrong events in TimelineChunk 2022-03-13 08:19:47 +01:00