diff --git a/src/matrixeventprocessor.ts b/src/matrixeventprocessor.ts index 4c2dce8ac2818eb3dab6224bae71bac73a2d54b9..26f94ee0c6df7ba3c37c9e2c91e4aa94239920d5 100644 --- a/src/matrixeventprocessor.ts +++ b/src/matrixeventprocessor.ts @@ -303,7 +303,7 @@ export class MatrixEventProcessor { if (!event.content.info) { // Fractal sends images without an info, which is technically allowed // but super unhelpful: https://gitlab.gnome.org/World/fractal/issues/206 - event.content.info = {size: 0, mimetype: ""}; + event.content.info = {mimetype: "", size: 0}; } if (!event.content.url) {