mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-18 04:50:08 +03:00
Annoy-developer-toast: don't show for normal local echos
Change-Id: Ibec75423c5f7f7d4145e48f2da36e2b02f0caf7c
This commit is contained in:
parent
56cae372b4
commit
4d8cedf6e5
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ fun checkTimelineConsistency(location: String, events: List<TimelineEvent>, verb
|
|||
// - The list may omit unsupported events (I guess?), thus causing gaps in the indices.
|
||||
Timber.w("Possible timeline inconsistency found at $location, $i/${events.size}: ${event.displayIndex}->${prev.displayIndex}, ${event.eventId} -> ${prev.eventId}")
|
||||
// Toast only those which are particularly suspicious
|
||||
if (prev.displayIndex != 1 && prev.displayIndex >= event.displayIndex) {
|
||||
if (prev.displayIndex != 1 && prev.displayIndex != 0 && prev.displayIndex >= event.displayIndex) {
|
||||
toastMsg += "${event.displayIndex}->${prev.displayIndex},"
|
||||
}
|
||||
potentialIssues++
|
||||
|
|
Loading…
Add table
Reference in a new issue