Browse Source

Bugfix. stanza name is passed in separately.

JC Brand 9 năm trước cách đây
mục cha
commit
2eb727f9f1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/converse-api.js

+ 1 - 1
src/converse-api.js

@@ -155,7 +155,7 @@
                 converse.connection.addHandler(
                     handler,
                     options.ns,
-                    options.name,
+                    name,
                     options.type,
                     options.id,
                     options.from,