Jelajahi Sumber

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

JC Brand 11 tahun lalu
induk
melakukan
7b2d16afbc
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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();