Skip to content

Commit 55562f8

Browse files
author
Igor Khomenko
committed
fixed an issue with Safari and login
1 parent f4f6d43 commit 55562f8

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "quickblox",
33
"description": "QuickBlox JavaScript SDK",
4-
"version": "2.0.2",
4+
"version": "2.0.3",
55
"homepage": "http://quickblox.com/developers/Javascript",
66
"main": "quickblox.js",
77
"license": "MIT",

js/modules/qbChat.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,9 @@ ChatProxy.prototype = {
359359
connection.addHandler(self._onMessageErrorListener, null, 'message', 'error');
360360

361361
// set signaling callbacks
362-
connection.addHandler(webrtc._onMessage, null, 'message', 'headline');
362+
if(webrtc){
363+
connection.addHandler(webrtc._onMessage, null, 'message', 'headline');
364+
}
363365

364366
// enable carbons
365367
self._enableCarbons(function() {

js/qbConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
var config = {
9-
version: '2.0.2',
9+
version: '2.0.3',
1010
creds: {
1111
appId: '',
1212
authKey: '',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "quickblox",
33
"description": "QuickBlox JavaScript SDK",
4-
"version": "2.0.2",
4+
"version": "2.0.3",
55
"homepage": "http://quickblox.com/developers/Javascript",
66
"main": "js/qbMain.js",
77
"license": [

quickblox.min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

samples/chat/js/config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var config = {
99
active: 2
1010
},
1111
debug: {
12-
mode: 0,
12+
mode: 1,
1313
file: null
1414
}
1515
};
@@ -27,4 +27,4 @@ var QBUser1 = {
2727
pass: 'chatusr22'
2828
};
2929

30-
QB.init(QBApp.appId, QBApp.authKey, QBApp.authSecret, config);
30+
QB.init(QBApp.appId, QBApp.authKey, QBApp.authSecret, config);

0 commit comments

Comments
 (0)