Skip to content

Commit e1847e6

Browse files
committed
fix for extraperams parser
1 parent 8258e35 commit e1847e6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

0 commit comments

Comments
 (0)