Skip to content

[stable-25.0.x] revert isPlausibleLastReadMessageId check - #6576

Merged
mahibi merged 2 commits into
stable-25.0.xfrom
backport/6571/stable-25.0.x
Aug 25, 2026
Merged

[stable-25.0.x] revert isPlausibleLastReadMessageId check#6576
mahibi merged 2 commits into
stable-25.0.xfrom
backport/6571/stable-25.0.x

Conversation

@backportbot

@backportbot backportbot Bot commented Aug 25, 2026

Copy link
Copy Markdown

Backport of PR #6571

mahibi and others added 2 commits August 25, 2026 14:44
Checking the real data for a big instance unveiled i was pretty off with my assumption how high the difference between messageId and newestKnownRealMessageId could be.

Logging for C.N.C was:
"advanceLocalLastReadMessageIfNeeded, messageId (5748751) is implausibly higher than the conversation's newest known message id (5694085). We won't advance."

I wont go down that road to increase PLAUSIBLE_MESSAGE_ID_BUFFER every know and then when it turns out it is still too low.

The curretn logic might introduce more problems than it would solve.
There should be other checks to make sure readmarkers don't make it to the server when they are wrong.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@backportbot backportbot Bot added the 3. to review Waiting for reviews label Aug 25, 2026
@backportbot backportbot Bot added this to the 25.0.0 milestone Aug 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

APK file: https://github.com/nextcloud/talk-android/actions/runs/32861360977/artifacts/9570693356
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@mahibi
mahibi merged commit d5ab95b into stable-25.0.x Aug 25, 2026
11 of 15 checks passed
@mahibi
mahibi deleted the backport/6571/stable-25.0.x branch August 25, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants