Browse Source

Bugfix. fullname is null

wrong callback argument mapping in XmppStatus initialize: fullname is
null
thierrytiti 10 years ago
parent
commit
e64c19fc18
2 changed files with 2 additions and 1 deletions
  1. 1 1
      converse.js
  2. 1 0
      docs/CHANGES.rst

+ 1 - 1
converse.js

@@ -4629,7 +4629,7 @@
                     if (this.get('fullname') === undefined) {
                     if (this.get('fullname') === undefined) {
                         converse.getVCard(
                         converse.getVCard(
                             null, // No 'to' attr when getting one's own vCard
                             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.save({'fullname': fullname});
                             }, this)
                             }, this)
                         );
                         );

+ 1 - 0
docs/CHANGES.rst

@@ -7,6 +7,7 @@ Changelog
 * Refactored in order to remove the strophe.roster.js dependency. [jcbrand]
 * 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. 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. 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]
 * #389 Allow login panel placeholders and roster item 'Name' translations. [gbonvehi]
 
 
 0.9.3 (2015-05-01)
 0.9.3 (2015-05-01)