This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Server notice user's avatar and displayname are only set on initial creation of the user #7494
Labels
good first issue
Good for newcomers
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
z-p3
(Deprecated Label)
If you've already created a server notices user, say with the following config:
change either
system_mxid_display_name
orsystem_mxid_avatar_url
will not update the user's avatar or display name. These are only set on initial creation of the user, thus changingsystem_mxid_localpart
will apply the changes, but in the process create a new user.The code for setting the displayname and avatar is:
synapse/synapse/server_notices/server_notices_manager.py
Lines 125 to 139 in 28c98e5
Instead, Synapse should check to see if the displayname or avatar has changed after a server restart, and update them accordingly.
The text was updated successfully, but these errors were encountered: