element-android/matrix-sdk-android
SpiritCroc 6ba02629ec Fix ChunkEntity.isMoreRecentThan() if both chunks linked to last forward
Imagine scenario:

[this] -> [chunkToCheck] -> [lastForwardChunk]

Then, both `isLastForward` checks will not return, and also the `chunkToCheck.doesNextChunksVerifyCondition { it == this }` will return false.
Since both chunks are connected to the last forward chunk, `isMoreRecent()` will still return `true`, which is wrong in this case.
So do not only check if chunkToCheck has this as any of the next chunks, but also the other way round.
2022-03-11 11:27:05 +01:00
..
src Fix ChunkEntity.isMoreRecentThan() if both chunks linked to last forward 2022-03-11 11:27:05 +01:00
.gitignore first commit 2018-10-03 17:58:12 +02:00
build.gradle Cleanup enabling threads from buildConfig 2022-02-28 17:39:40 +02:00
proguard-rules.pro Remove dependency to org.greenrobot.eventbus library 2021-01-05 18:56:24 +01:00