Skip to content

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

Merged
netbe merged 1 commit into
release/cycle-4.19from
fix/avatar-not-loaded-after-first-launch-wpb-24860-cherry-pick
May 13, 2026
Merged

fix: avatar not loaded after login - WPB-24860 🍒#4675
netbe merged 1 commit into
release/cycle-4.19from
fix/avatar-not-loaded-after-first-launch-wpb-24860-cherry-pick

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

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

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

Original PR description:


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.

@netbe netbe self-assigned this May 13, 2026
@netbe netbe changed the base branch from release/cycle-4.18 to release/cycle-4.19 May 13, 2026 07:58
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 self-requested a review May 13, 2026 07:58
@netbe netbe force-pushed the fix/avatar-not-loaded-after-first-launch-wpb-24860-cherry-pick branch from 9385fb2 to 481b1af Compare May 13, 2026 08:00
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.

skipping 4.18, porting fix to 4.19 from 4.16.4

@netbe netbe enabled auto-merge (squash) May 13, 2026 08:00
@sonarqubecloud
Copy link
Copy Markdown

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented May 13, 2026

Test Results

    7 files    988 suites   9m 13s ⏱️
7 127 tests 7 099 ✅ 28 💤 0 ❌
7 128 runs  7 100 ✅ 28 💤 0 ❌

Results for commit 481b1af.

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

@netbe netbe merged commit 6938fc1 into release/cycle-4.19 May 13, 2026
19 checks passed
@netbe netbe deleted the fix/avatar-not-loaded-after-first-launch-wpb-24860-cherry-pick branch May 13, 2026 08:41
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