Bugfix. fixes #180
This commit is contained in:
parent
66e45f91e9
commit
3423f7bc74
@ -3779,13 +3779,13 @@
|
||||
},
|
||||
'getRID': function () {
|
||||
if (converse.expose_rid_and_sid && typeof converse.connection !== "undefined") {
|
||||
return converse.connection._proto.rid;
|
||||
return converse.connection.rid || converse.connection._proto.rid;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
'getSID': function () {
|
||||
if (converse.expose_rid_and_sid && typeof converse.connection !== "undefined") {
|
||||
return converse.connection._proto.sid;
|
||||
return converse.connection.sid || converse.connection._proto.sid;
|
||||
}
|
||||
return null;
|
||||
},
|
||||
|
@ -25,6 +25,7 @@ Changelog
|
||||
* #132 Support for `XEP-0280: Message Carbons <https://xmpp.org/extensions/xep-0280.html'>`_.
|
||||
Configured via `enable_message_carbons <https://conversejs.org/docs/html/index.html#enable_message_carbons>`_ [hejazee]
|
||||
* #176 Add support for caching in sessionStorage as opposed to localStorage. [jcbrand]
|
||||
* #180 RID and SID undefined [g8g3]
|
||||
* #191 No messages history [heban]
|
||||
* #192 Error: xhr_user_search_url is not defined. [jcbrand]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user