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

update UI if display name changed by a different device #3674

Conversation

Simon-Laux
Copy link
Member

@Simon-Laux Simon-Laux commented Feb 9, 2024

fixes #3624

})
BackendRemote.on('ConfigSynced', (_accountId, { key }) => {
}
// SelfavatarChanged event is deprecated and does not seem to work (neither SelfavatarChanged nor iver the new ConfigSynced)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iequidoo I couldn't get self avatar syncing to work at all in my testing.

If it works and also triggers the ConfigSynced event correctly, then we cn remove the listener for the deprecated SelfavatarChanged event?

@Simon-Laux Simon-Laux changed the title update UI if display name changed by a different device fix #3624 update UI if display name changed by a different device Feb 9, 2024
@Simon-Laux Simon-Laux mentioned this pull request Feb 9, 2024
44 tasks
@Simon-Laux
Copy link
Member Author

Simon-Laux commented Feb 10, 2024

selfavatar is not synced by the new config sync system yet, though the pr already exists deltachat/deltachat-core-rust#5158

I'll self review my code and merge it into the account sidebar branch now.

Also technically this requires a new core release to work, because there is a bug in the current one, but no api changes so it builds without updating core, so I'd say we don't need to wait for a new core version for this one.

@Simon-Laux Simon-Laux marked this pull request as ready for review February 10, 2024 11:45
@Simon-Laux Simon-Laux merged commit 60e979f into simon/new-multi-account-experience Feb 10, 2024
5 of 7 checks passed
@Simon-Laux Simon-Laux deleted the simon/i3624-react-on-multidevice-displayname-change branch February 10, 2024 11:45
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.

None yet

1 participant