SchildiChat-android/matrix-sdk-android
SpiritCroc afe9c47086 Do not link in pagination direction for events at start of chunk
If we link chunks in pagination direction, and discard all events after
that, we assume that we reached a point in the chunk that is already
covered by a different chunk.
If we however haven't seen any new events in that chunk yet, chances are
this is the wrong direction we are linking. So in this case, better just
skip related events and continue processing later events - making sure
we don't lose new events and don't link in the wrong direction.

Note we could also enforce links into the opposite direction in this case.
Since in the cases I observed so far, such link already existed, so I
think this is probably not necessary.

Change-Id: Ia4d2fd87188b9757ed68416e883c3fb489cdfa6e
2022-04-29 15:29:36 +02:00
..
src Do not link in pagination direction for events at start of chunk 2022-04-29 15:29:36 +02:00
.gitignore first commit 2018-10-03 17:58:12 +02:00
build.gradle Version hotfix 1.4.13 2022-04-26 11:29:40 +02:00
proguard-rules.pro Remove dependency to org.greenrobot.eventbus library 2021-01-05 18:56:24 +01:00