Skip to content

fix: avatar not loaded after login - WPB-24860#4595

Merged
johnxnguyen merged 3 commits intorelease/cycle-4.16from
fix/avatar-not-loaded-after-first-launch-wpb-24860
May 6, 2026
Merged

fix: avatar not loaded after login - WPB-24860#4595
johnxnguyen merged 3 commits intorelease/cycle-4.16from
fix/avatar-not-loaded-after-first-launch-wpb-24860

Conversation

@johnxnguyen
Copy link
Copy Markdown
Collaborator

@johnxnguyen johnxnguyen commented Apr 20, 2026

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

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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 20, 2026

Test Results

    7 files    982 suites   10m 39s ⏱️
7 110 tests 7 082 ✅ 28 💤 0 ❌
7 111 runs  7 083 ✅ 28 💤 0 ❌

Results for commit d2fc892.

♻️ This comment has been updated with latest results.

Summary: workflow run #25427794920
Allure report (download zip): html-report-29768-fix_avatar-not-loaded-after-first-launch-wpb-24860

@johnxnguyen johnxnguyen requested review from caldrian and jullianm and removed request for caldrian April 21, 2026 12:42
Copy link
Copy Markdown
Contributor

@jullianm jullianm left a comment

Choose a reason for hiding this comment

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

LGTM

@johnxnguyen johnxnguyen enabled auto-merge (squash) May 6, 2026 09:40
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

@johnxnguyen johnxnguyen merged commit 412065c into release/cycle-4.16 May 6, 2026
17 checks passed
@johnxnguyen johnxnguyen deleted the fix/avatar-not-loaded-after-first-launch-wpb-24860 branch May 6, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants