Fix: User name

This commit is contained in:
Sébastien Hut 2015-03-16 15:07:39 +01:00 committed by Sébastien Hut
parent 1b15f112d8
commit 39296dcbaa
1 changed files with 1 additions and 0 deletions

View File

@ -197,6 +197,7 @@ module.exports = HumanModel.define({
this.jid.prepped = newJid.prepped;
} else {
this.jid = newJid;
this.nick = this.jid.local;
}
},
updateIdlePresence: function () {