RocketChat / RocketChat/Rocket.Chat

[BUG] Firefox can't show default avatar on notification

Open
#25,971 0 comments 0 reactions 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:

For users who have not set an avatar, the notification sent to other users cannot display the avatar.

Both Edge and Firefox have this problem.

Steps to reproduce:
  1. Open rocket.chat page in Chrome browser -> login account A
  2. Open rocket.chat page in Firefox browser -> login account B
  3. Send message from A to B -> The notification displayed with the avatar is faulty
  4. Send message from B to A -> Notification displayed with avatar displayed normally
Expected behavior:

Notification displayed with the user's default avatar.

Actual behavior:

image

Server Setup Information:
  • Version of Rocket.Chat Server: 4.6.3 (due for an upgrade soon)
  • Operating System: Ubuntu
  • Deployment Method: snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: 14.18.3
  • MongoDB Version: 5.0.6
Client Setup Information
  • Desktop App or Browser Version: Chrome 102.0.5005.115 (Official Build) (64-bit), Firefox Version 101.0.1 (64-bit)
  • Operating System: Ubuntu 20.04.4 LTS 64-bit
Additional context
Relevant logs:

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

No file or test is identified in the issue. First reproduce the notification flow across Chrome, Firefox, and Edge with users who have and have not set avatars, then trace the notification avatar rendering entry point; done means the default avatar displays correctly in Firefox and Edge.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.