Skip to content

fix: avatar not loaded after login - WPB-24860 🍒#4705

Merged
johnxnguyen merged 1 commit into
developfrom
fix/avatar-not-loaded-after-first-launch-wpb-24860-cherry-pick-cherry-pick
May 14, 2026
Merged

fix: avatar not loaded after login - WPB-24860 🍒#4705
johnxnguyen merged 1 commit into
developfrom
fix/avatar-not-loaded-after-first-launch-wpb-24860-cherry-pick-cherry-pick

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 13, 2026

BugWPB-24860 [iOS] [Profile] Own profile picture is not displayed when starting the app for the first time by user

This PR was automatically cherry-picked based on the following PR:

Original PR description:


This PR was automatically cherry-picked based on the following PR:

Original PR description:


Issue

After first login, the self user avatar is not loaded in the leading toolbar item of the conversation list. This is because the avatar view uses the image data set on the Account object, which is not set directly after login but only later. The solution is to fallback to the user image data (stored on ZMUser) which is set after login.

Testing

  • Log in fresh
  • Check the avatar is loaded with the profile picture of the self user
Simulator Screenshot - A - 2026-04-20 at 23 14 15

Checklist

  • Title contains a reference JIRA issue number like [WPB-XXX].
  • Description is filled and free of optional paragraphs.
  • Adds/updates automated tests.

UI accessibility checklist

If your PR includes UI changes, please utilize this checklist:

  • Make sure you use the API for UI elements that support large fonts.
  • All colors are taken from WireDesign.ColorTheme or constructed using WireDesign.BaseColorPalette.
  • New UI elements have Accessibility strings for VoiceOver.

Co-authored-by: John Nguyen <28632506+johnxnguyen@users.noreply.github.com>
@netbe netbe changed the title fix: avatar not loaded after login - WPB-24860 🍒 🍒 fix: avatar not loaded after login - WPB-24860 🍒 May 13, 2026
Copy link
Copy Markdown
Collaborator

@netbe netbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍒 back to develop

Copy link
Copy Markdown
Collaborator

@zenkins zenkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved cherry-pick PR 🍒.

@netbe netbe enabled auto-merge May 13, 2026 08:43
@sonarqubecloud
Copy link
Copy Markdown

@netbe netbe marked this pull request as draft May 13, 2026 08:52
auto-merge was automatically disabled May 13, 2026 08:52

Pull request was converted to draft

@netbe netbe marked this pull request as ready for review May 13, 2026 08:52
@netbe netbe enabled auto-merge May 13, 2026 08:53
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 13, 2026

Test Results

    2 files    384 suites   4m 43s ⏱️
2 924 tests 2 924 ✅ 0 💤 0 ❌
2 925 runs  2 925 ✅ 0 💤 0 ❌

Results for commit 579cd5c.

Summary: workflow run #25788782762
Allure report (download zip): html-report-29946-fix_avatar-not-loaded-after-first-launch-wpb-24860-cherry-pick-cherry-pick

@netbe netbe added this pull request to the merge queue May 13, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks May 13, 2026
@johnxnguyen johnxnguyen added this pull request to the merge queue May 14, 2026
Merged via the queue into develop with commit 1e24ce2 May 14, 2026
18 checks passed
@johnxnguyen johnxnguyen deleted the fix/avatar-not-loaded-after-first-launch-wpb-24860-cherry-pick-cherry-pick branch May 14, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants