Skip to content

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

Open
github-actions[bot] wants to merge 1 commit intorelease/cycle-4.18from
fix/avatar-not-loaded-after-first-launch-wpb-24860-cherry-pick
Open

fix: avatar not loaded after login - WPB-24860 🍒#4675
github-actions[bot] wants to merge 1 commit intorelease/cycle-4.18from
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.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

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.

1 participant