mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-16 03:07:04 +02:00
really kill mime types as they are ugly (3rd time lucky)
This commit is contained in:
parent
7e93b75aa0
commit
03dfd57a79
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user