浏览代码

Bugfix. The 'get' function complains when there's no callback

JC Brand 11 年之前
父节点
当前提交
7b2d16afbc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -396,7 +396,7 @@
             this.initStatus($.proxy(function () {
                 this.initRoster();
                 this.chatboxes.onConnected();
-                this.connection.roster.get();
+                this.connection.roster.get(function () {});
                 $(document).click(function() {
                     if ($('.toggle-otr ul').is(':visible')) {
                         $('.toggle-otr ul', this).slideUp();