mirror of https://github.com/zulip/zulip.git
When you change your name, properly update it in the presence list.
This fixes Trac #1163. (imported from commit 065f33484004635104d59d3a004cc25c12fa1d2b)
This commit is contained in:
parent
a237963c90
commit
d9aca91662
|
@ -1690,7 +1690,7 @@ exports.set_presence_list = function (users, presence_info) {
|
|||
type: type,
|
||||
type_desc: presence_descriptions[type],
|
||||
email: email};
|
||||
if (email === this.email) {
|
||||
if (email === page_params.email) {
|
||||
args.my_fullname = true;
|
||||
}
|
||||
var entry = templates.render('user_presence_row', args);
|
||||
|
|
Loading…
Reference in New Issue