1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-12 07:02:50 +03:00

really kill mime types as they are ugly (3rd time lucky)

This commit is contained in:
Matthew Hodgson
2015-10-22 16:32:27 +01:00
parent 7e93b75aa0
commit 03dfd57a79

View File

@@ -27,9 +27,9 @@ module.exports = {
var additionals = []; var additionals = [];
if (content.info) { if (content.info) {
if (content.info.mimetype && content.info.mimetype.length > 0) { // if (content.info.mimetype && content.info.mimetype.length > 0) {
additionals.push(content.info.mimetype); // additionals.push(content.info.mimetype);
} // }
if (content.info.size) { if (content.info.size) {
additionals.push(filesize(content.info.size)); additionals.push(filesize(content.info.size));
} }