quickblox 2.17.18-logger → 2.17.20-logger
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/quickblox.js +7 -4
- package/quickblox.min.js +1 -1
- package/src/modules/chat/qbChat.js +6 -3
- package/src/qbConfig.js +1 -1
package/package.json
CHANGED
package/quickblox.js
CHANGED
|
@@ -42973,7 +42973,7 @@ function ChatProxy(service) {
|
|
|
42973
42973
|
*/
|
|
42974
42974
|
if (Utils.getEnv().browser) {
|
|
42975
42975
|
// strophe js
|
|
42976
|
-
self.connection = Connection(self._OnLogListener);
|
|
42976
|
+
self.connection = Connection(self._OnLogListener.bind(this));
|
|
42977
42977
|
|
|
42978
42978
|
/** Add extension methods to track handlers for removal on reconnect */
|
|
42979
42979
|
self.connection.XHandlerReferences = [];
|
|
@@ -43635,8 +43635,11 @@ function ChatProxy(service) {
|
|
|
43635
43635
|
ChatProxy.prototype = {
|
|
43636
43636
|
|
|
43637
43637
|
_OnLogListener: function (message) {
|
|
43638
|
-
|
|
43639
|
-
|
|
43638
|
+
var self = this;
|
|
43639
|
+
Utils.QBLog('[QBChat][TEST]', self);
|
|
43640
|
+
Utils.QBLog('[QBChat][TEST]', typeof self.onLogListener);
|
|
43641
|
+
if (typeof self.onLogListener === 'function') {
|
|
43642
|
+
Utils.safeCallbackCall(self.onLogListener, message);
|
|
43640
43643
|
}
|
|
43641
43644
|
},
|
|
43642
43645
|
|
|
@@ -51499,7 +51502,7 @@ module.exports = StreamManagement;
|
|
|
51499
51502
|
*/
|
|
51500
51503
|
|
|
51501
51504
|
var config = {
|
|
51502
|
-
version: '2.17.
|
|
51505
|
+
version: '2.17.20-logger',
|
|
51503
51506
|
buildNumber: '1161',
|
|
51504
51507
|
creds: {
|
|
51505
51508
|
'appId': 0,
|