We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e89c972 commit 993b634Copy full SHA for 993b634
src/modules/qbChatHelpers.js
@@ -165,7 +165,11 @@ var qbChatHelpers = {
165
var attributes = extraParams.childNodes[i].attributes;
166
167
for (var j = 0, len2 = attributes.length; j < len2; j++) {
168
- attach[attributes[j].name] = attributes[j].value;
+ if (attributes[j].name === 'size'){
169
+ attach[attributes[j].name] = parseInt(attributes[j].value);
170
+ } else {
171
+ attach[attributes[j].name] = attributes[j].value;
172
+ }
173
}
174
175
attachments.push(attach);
0 commit comments