Skip to content

Commit ce92d19

Browse files
committed
Merge pull request #120 from QuickBlox/gh-pages.hotfix_2.1.1
fix for extraparams parser
2 parents 8258e35 + 09e7ebd commit ce92d19

File tree

5 files changed

+7
-10
lines changed

5 files changed

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

js/modules/qbChat.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -672,10 +672,7 @@ ChatProxy.prototype = {
672672
var attach = {};
673673
var attributes = extraParams.childNodes[i].attributes;
674674
for (var j = 0, len2 = attributes.length; j < len2; j++) {
675-
if (attributes[j].name === 'id' || attributes[j].name === 'size')
676-
attach[attributes[j].name] = parseInt(attributes[j].value);
677-
else
678-
attach[attributes[j].name] = attributes[j].value;
675+
attach[attributes[j].name] = attributes[j].value;
679676
}
680677
attachments.push(attach);
681678

js/qbConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111

1212
var config = {
13-
version: '2.1.0',
13+
version: '2.1.1',
1414
creds: {
1515
appId: '',
1616
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.1.0",
4+
"version": "2.1.1",
55
"homepage": "http://quickblox.com/developers/Javascript",
66
"main": "js/qbMain.js",
77
"license": [

quickblox.min.js

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

0 commit comments

Comments
 (0)