Skip to content

Commit 78a204f

Browse files
author
Igor Khomenko
committed
Merge pull request #97 from QuickBlox/develop.webrtc.bf080116
SDK v.2.0.2
2 parents 4b43e28 + 113e8be commit 78a204f

File tree

11 files changed

+457
-397
lines changed

11 files changed

+457
-397
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.1",
4+
"version": "2.0.2",
55
"homepage": "http://quickblox.com/developers/Javascript",
66
"main": "quickblox.js",
77
"license": "MIT",

js/modules/qbChat.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,6 +1361,10 @@ Helpers.prototype = {
13611361
return jid.split('@')[0].split('_')[1];
13621362
},
13631363

1364+
getRoomJidFromDialogId: function(dialogId) {
1365+
return config.creds.appId + '_' + dialogId + '@' + config.endpoints.muc;
1366+
},
1367+
13641368
getRoomJid: function(jid) {
13651369
if(!isBrowser) throw unsupported;
13661370
return jid + '/' + this.getIdFromNode(connection.jid);

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.1',
9+
version: '2.0.2',
1010
creds: {
1111
appId: '',
1212
authKey: '',

js/qbMain.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@ QuickBlox.prototype = {
4444
} else {
4545
this.webrtc = false;
4646
}
47+
} else {
48+
this.webrtc = false;
4749
}
4850

4951
this.auth = new Auth(this.service);
5052
this.users = new Users(this.service);
51-
this.chat = new Chat(this.service, this.webrtc.signalingProcessor || null, conn || null);
53+
this.chat = new Chat(this.service, this.webrtc ? this.webrtc.signalingProcessor : null, conn || null);
5254
this.content = new Content(this.service);
5355
this.location = new Location(this.service);
5456
this.pushnotifications = new PushNotifications(this.service);

package.json

Lines changed: 5 additions & 3 deletions
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.1",
4+
"version": "2.0.2",
55
"homepage": "http://quickblox.com/developers/Javascript",
66
"main": "js/qbMain.js",
77
"license": [
@@ -24,11 +24,13 @@
2424
],
2525
"maintainers": [
2626
"Igor Khomenko <igor@quickblox.com>",
27-
"Vlad Lukhanin <vladislav.lukhanin@quickblox.com>"
27+
"Vlad Lukhanin <vladislav.lukhanin@quickblox.com>",
28+
"Dima Lobanov <dmytro.lobanov@injoit.com>"
2829
],
2930
"contributors": [
3031
"Igor Khomenko <igor@quickblox.com>",
31-
"Vlad Lukhanin <vladislav.lukhanin@quickblox.com>"
32+
"Vlad Lukhanin <vladislav.lukhanin@quickblox.com>",
33+
"Dima Lobanov <dmytro.lobanov@injoit.com>"
3234
],
3335
"repository": {
3436
"type": "git",

quickblox.min.js

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

samples/webrtc/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ <h4>Call from <strong class="j-ic_initiator"></strong></h4>
221221

222222
<script type="text/template" id="device_not_found">
223223
Error: devices (camera or microphone) are not found.
224-
&emsp;Login&nbsp;in&nbsp;as&nbsp;<%=name%>
224+
<span class="text">&emsp;Login&nbsp;in&nbsp;as&nbsp;<%=name%></span>
225225
<button class='fw-link j-logout'>Logout</button>
226226
</script>
227227

0 commit comments

Comments
 (0)