quickblox 2.21.3 → 2.21.4

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.
@@ -882,6 +882,9 @@ ChatProxy.prototype = {
882
882
  ' error: ', error);
883
883
  self._chatPingFailedCounter += 1;
884
884
  if (self._chatPingFailedCounter > 6) {
885
+ if (self.isConnected && typeof self.onDisconnectedListener === 'function') {
886
+ Utils.safeCallbackCall(self.onDisconnectedListener);
887
+ }
885
888
  self.isConnected = false;
886
889
  self._isConnecting = false;
887
890
  self._chatPingFailedCounter = 0;
@@ -1236,6 +1239,7 @@ ChatProxy.prototype = {
1236
1239
  }
1237
1240
  },
1238
1241
 
1242
+
1239
1243
  /**
1240
1244
  * Send message to 1 to 1 or group dialog. {@link https://quickblox.com/developers/Web_XMPP_Chat_Sample#Chat_in_dialog More info.}
1241
1245
  * @memberof QB.chat
package/src/qbConfig.js CHANGED
@@ -12,8 +12,8 @@
12
12
  */
13
13
 
14
14
  var config = {
15
- version: '2.21.3',
16
- buildNumber: '1169',
15
+ version: '2.21.4',
16
+ buildNumber: '1171',
17
17
  creds: {
18
18
  'appId': 0,
19
19
  'authKey': '',