1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-08-13 17:03:51 -04:00

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

View File

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