RocketChat / RocketChat/Rocket.Chat

Avatar changes are not seen by other users unless they refresh client

Open
#23,648 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When changing my avatar, the other user does not see the new one until they refresh the client, e.g through ctrl + R. The new avatar can only be seen when clicking the profile name pop out card.

Steps to reproduce:
  1. Change avatar
  2. Ask another person who is already logged into RC to verify if it shows the new one
  3. Ask them to refresh
Expected behavior:

Avatars automatically update.

Actual behavior:

New avatar does not show for other users until they refresh.

Server Setup Information:
  • Version of Rocket.Chat Server: 4.1.1
  • Operating System: Ubuntu 18.04.6
  • Deployment Method: docker
  • Number of Running Instances: 1
  • MongoDB Version: v3.6.3
Client Setup Information
  • Desktop App or Browser Version: 3.5.7
  • Operating System: Arch Linux and Windows 10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the avatar update with two logged-in users, then trace the client-side avatar display and update flow. Confirm the stale avatar persists until a refresh while the profile pop-out shows the new image. Done means other users see the changed avatar automatically without refreshing.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.