Pending friend requests do not persist on user profiles after restarting the app, incorrectly showing the option to add them again

(#2207) Bug Fixed mobile

Observed behaviour

After restarting the app, the profile incorrectly displays the button to add the user as a friend again, even though the request was already sent previously.

Reproduction steps

  1. Send a friend request to another user.
  2. Without waiting for them to accept, navigate to a channel containing that user and close or force-quit the application directly from there.
  3. Reopen the app (which launches directly into that same view or allows immediate access to the user's profile from the current channel).

Build information

Version 1.0.0, Beta 65, Channel Beta, Build 2459, Android 13 (arm64), Device Xiaomi 21061110AG, Locale en-US, Push fcm, Flutter 3.47.4, Dart 3.13.3

Platform

Android

Details

Expected behaviour The profile should accurately reflect that a friend request has already been sent (showing a pending/cancel state) and prevent sending duplicate requests.
VID-20260918-WA0001.mp4 | 3.5 MB
  1. Rex changed the status from Needs triage to Fixed

3 comments

Sign in with Fluxer to comment and vote.
Comment by bizo
bizoReviewer 1 vote
Can reproduce CR - Version 1.0.0, Beta 65, Channel Beta, Build 72, iOS 26.6 (arm64), Device iPhone13,1, Locale en-GB, Push apns, Flutter 3.47.4, Dart 3.13.3
Comment by ternera
terneraMod 1 vote
Can reproduce CR - Version 1.0.0, Beta 65, Channel Beta, Build 72, iOS 27.0 (arm64), Device iPhone16,1, Locale en-US, Push apns, Flutter 3.47.4, Dart 3.13.3
Comment by Fullest
FullestReviewer 1 vote
Can reproduce CR: Version 1.0.0, Beta 65, Channel Beta, Build 2459, Android 16 (arm64), Device Google Pixel 9a, Locale en-US, Push fcm, Flutter 3.47.4, Dart 3.13.3