Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tw 1774/update avatar when have changes solution 2 #2021

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

sherlockvn
Copy link
Collaborator

@sherlockvn sherlockvn commented Sep 12, 2024

Ticket

Related issue
#1774

Solution:

We continue to use SyncUpdate to update the avatars in the chat list. However, instead of discarding additional SyncUpdate events in the rateLimit function, we now combine the relevant information from these updates to retrieve the most recent avatarUrl.

Demo web:

Screen.Recording.2024-09-12.at.12.29.30.PM.mov

@nqhhdev
Copy link
Member

nqhhdev commented Sep 12, 2024

Pls check format code

Screenshot 2024-09-12 at 12 40 26

Copy link

This PR has been deployed to https://linagora.github.io/twake-on-matrix/2021

@nqhhdev
Copy link
Member

nqhhdev commented Sep 16, 2024

Still run test failed, pls check it

Screenshot 2024-09-16 at 09 04 07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants