Skip to content

[stable-25.0.x] fix(conversationlist): Retry conversation sync - #6627

Merged
mahibi merged 2 commits into
stable-25.0.xfrom
backport/6611/stable-25.0.x
Sep 3, 2026
Merged

[stable-25.0.x] fix(conversationlist): Retry conversation sync #6627
mahibi merged 2 commits into
stable-25.0.xfrom
backport/6611/stable-25.0.x

Conversation

@backportbot

@backportbot backportbot Bot commented Sep 3, 2026

Copy link
Copy Markdown

Backport of #6611

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

…rs on slow networks

On a slow/unstable connection (e.g. GPRS), the room-list fetch can fail
with a transient error like StreamResetException, which was silently
swallowed. On first launch with an empty local cache this left the
conversation list blank with no explanation and no way to recover
short of restarting the app.

Retry the fetch a few times to ride out transient failures, and only
when retries are exhausted and there is nothing cached locally to show,
surface the error through the existing error-dialog UI so the user
knows the sync failed.

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
@backportbot backportbot Bot added 3. to review Waiting for reviews AI assisted labels Sep 3, 2026
@backportbot backportbot Bot added this to the 25.0.0 milestone Sep 3, 2026
…retries

fix(conversationlist): Add exponential backoff to conversation fetch retries

Retrying immediately on a slow/unstable connection tends to hit the

same transient failure again right away. Wait between retry attempts,

backing off exponentially (1s, 2s, 4s, capped at 8s) instead of

retrying instantly.

Assisted-by: Claude Code:claude-sonnet-5

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@mahibi
mahibi force-pushed the backport/6611/stable-25.0.x branch from 6baaeba to 2a5736a Compare September 3, 2026 07:33
@mahibi
mahibi marked this pull request as ready for review September 3, 2026 07:33
@mahibi
mahibi merged commit 76b45ba into stable-25.0.x Sep 3, 2026
12 of 16 checks passed
@mahibi
mahibi deleted the backport/6611/stable-25.0.x branch September 3, 2026 07:41
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

APK file: https://github.com/nextcloud/talk-android/actions/runs/33728690949/artifacts/9883782925
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)

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 AI assisted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants