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:
Waseem Daher 2013-06-28 17:30:14 -04:00
parent a237963c90
commit d9aca91662
1 changed files with 1 additions and 1 deletions

View File

@ -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);