From 41caaa4b23b83caab4c845a9990e23aef5c31e3e Mon Sep 17 00:00:00 2001 From: Sorunome <mail@sorunome.de> Date: Mon, 1 Jul 2019 22:44:43 +0200 Subject: [PATCH] dem lint --- src/matrixeventprocessor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrixeventprocessor.ts b/src/matrixeventprocessor.ts index 4c2dce8..26f94ee 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) { -- GitLab