Annoy-developer-toast: don't show for normal local echos

Change-Id: Ibec75423c5f7f7d4145e48f2da36e2b02f0caf7c
This commit is contained in:
SpiritCroc 2022-03-15 16:11:22 +01:00
parent 56cae372b4
commit 4d8cedf6e5

View file

@ -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++