mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 10:57:58 +00:00
settings: Fix real-time sync for account settings.
This restores the property that changing one's name in on browser's "account settings" also changes the user's name in other browser windows' "account settings" pages.
This commit is contained in:
@@ -36,6 +36,9 @@ exports.update_person = function update(person) {
|
||||
activity.redraw();
|
||||
message_live_update.update_user_full_name(person.user_id, person.full_name);
|
||||
pm_list.update_private_messages();
|
||||
if (people.is_my_user_id(person.user_id)) {
|
||||
settings_account.update_full_name(person.full_name);
|
||||
}
|
||||
}
|
||||
|
||||
if (_.has(person, 'is_admin')) {
|
||||
|
||||
Reference in New Issue
Block a user