Bug: 1 to 1 user chats shows multiple avatars
Summary
(Summarize the bug encountered concisely)
1 to 1 user chats are showing multiple avatars on chat lists, as well as the chat window.
This might be a regression, as it was working before and the bug is visible on
- web (prod, canary, staging)
- mobile (both apps)
How it should look like
Steps to reproduce
(How one can reproduce the issue - this is very important)
Initiate or visit a 1 to 1 chat room
Platform information
(Browser, device, system stats, screen size)
All platforms (web, mobile) and across all environments (prod, canary, staging)
What is the current bug behavior?
(What actually happens)
1 to 1 user chats render 2 avatars instead of 1 (recipient of account's chat message).
What is the expected correct behavior?
(What you should see instead)
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
any suggestions here? I suspect its something on the backend?
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)