quickblox 2.17.20-logger → 2.17.22-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.
@@ -702,8 +702,6 @@ ChatProxy.prototype = {
702
702
 
703
703
  _OnLogListener: function (message) {
704
704
  var self = this;
705
- Utils.QBLog('[QBChat][TEST]', self);
706
- Utils.QBLog('[QBChat][TEST]', typeof self.onLogListener);
707
705
  if (typeof self.onLogListener === 'function') {
708
706
  Utils.safeCallbackCall(self.onLogListener, message);
709
707
  }
package/src/qbConfig.js CHANGED
@@ -12,7 +12,7 @@
12
12
  */
13
13
 
14
14
  var config = {
15
- version: '2.17.20-logger',
15
+ version: '2.17.22-logger',
16
16
  buildNumber: '1161',
17
17
  creds: {
18
18
  'appId': 0,
package/src/qbStrophe.js CHANGED
@@ -22,7 +22,7 @@ function Connection(onLogListenerCallback) {
22
22
  onLogListener = config.debug ? onLogListenerCallback : null;
23
23
  if (onLogListener && typeof onLogListener === 'function') {
24
24
  Utils.safeCallbackCall(onLogListener,
25
- '[QBChat][QBStrophe]' + message + data);
25
+ '[QBChat][QBStrophe]' + message + JSON.stringify(data));
26
26
  }
27
27
  };
28
28