浏览代码

Bugfix. fullname is null

wrong callback argument mapping in XmppStatus initialize: fullname is
null
thierrytiti 10 年之前
父节点
当前提交
e64c19fc18
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 1
      converse.js
  2. 1 0
      docs/CHANGES.rst

+ 1 - 1
converse.js

@@ -4629,7 +4629,7 @@
                     if (this.get('fullname') === undefined) {
                         converse.getVCard(
                             null, // No 'to' attr when getting one's own vCard
-                            $.proxy(function (jid, fullname, image, image_type, url) {
+                            $.proxy(function (iq, jid, fullname, image, image_type, url) {
                                 this.save({'fullname': fullname});
                             }, this)
                         );

+ 1 - 0
docs/CHANGES.rst

@@ -7,6 +7,7 @@ Changelog
 * Refactored in order to remove the strophe.roster.js dependency. [jcbrand]
 * Bugfix. Manual login doesn't work when only websocket_url is set and not bosh_service_url. [jcbrand]
 * Bugfix. clearSessions during unload event would throw an error when not logged in. [gbonvehi]
+* Bugfix. wrong callback argument mapping in XmppStatus initialize: fullname is null [thierrytiti]
 * #389 Allow login panel placeholders and roster item 'Name' translations. [gbonvehi]
 
 0.9.3 (2015-05-01)