diff --git a/converse.js b/converse.js index ae94b7a02..9d3ad2adb 100644 --- a/converse.js +++ b/converse.js @@ -3644,7 +3644,7 @@ converse.getVCard( bare_jid, $.proxy(function (jid, fullname, img, img_type, url) { - this.add({ + this.create({ jid: bare_jid, subscription: 'none', ask: null, @@ -3658,7 +3658,7 @@ }, this), $.proxy(function (jid, iq) { converse.log("Error while retrieving vcard"); - this.add({ + this.create({ jid: bare_jid, subscription: 'none', ask: null, diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst index 5693c6c13..aad5d3d43 100644 --- a/docs/CHANGES.rst +++ b/docs/CHANGES.rst @@ -17,6 +17,7 @@ Changelog * #237 Unable to create room when ``hide_muc_server`` is ``true``. [jcbrand] * #238 Rooms are not shown when ``hide_offline_users`` is ``true``. [jcbrand] * #251 Non-minified builds for debugging. [jcbrand] +* #262 Contact requests are not shown if page is reloaded. [jcbrand] * #264 Remove unnecessary commas for ie8 compatibility. [Deuteu] * #267 Unread messages counter wrongly gets incremented by chat state notifications. [Deuteu] * #274 Roster filtering results change with presence changes. [jcbrand]