Browse Source

`checkForReservedNick` wasn't called if there aren't any bookmarks.

Updates #723, #734
JC Brand 8 years ago
parent
commit
a4eb622aaa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/converse-bookmarks.js

+ 1 - 1
src/converse-bookmarks.js

@@ -85,7 +85,7 @@
                      * Otherwise delegate to the super method.
                      */
                     if (_.isUndefined(converse.bookmarks)) {
-                        return;
+                        return this.__super__.checkForReservedNick.apply(this, arguments);
                     }
                     var model = converse.bookmarks.findWhere({'jid': this.model.get('jid')});
                     if (!_.isUndefined(model) && model.get('nick')) {