Commit 0d105b8a authored by JC Brand's avatar JC Brand

make sure room nick is remembered across page loads.

parent be47ceaa
...@@ -579,7 +579,7 @@ ...@@ -579,7 +579,7 @@
getRoomJIDAndNick: function (nick) { getRoomJIDAndNick: function (nick) {
if (nick) { if (nick) {
this.model.set({'nick': nick}); this.model.save({'nick': nick});
} else { } else {
nick = this.model.get('nick'); nick = this.model.get('nick');
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment