Commit 9218d649 authored by JC Brand's avatar JC Brand

Bugfix. Avoid infinite recursion (used wrong model).

parent 65fa39dd
......@@ -96,7 +96,7 @@
}
var model = _converse.bookmarks.findWhere({'jid': this.model.get('jid')});
if (!_.isUndefined(model) && model.get('nick')) {
this.join(this.model.get('nick'));
this.join(model.get('nick'));
} else {
return this.__super__.checkForReservedNick.apply(this, arguments);
}
......
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