From 640cd88b6e3bcafabb35fb8bb46ef2e35f141262 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Wed, 1 Dec 2021 16:10:22 +0530 Subject: [PATCH] make type string --- src/matrix/net/types/response.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/net/types/response.ts b/src/matrix/net/types/response.ts index 4f0af7ec..aabcde73 100644 --- a/src/matrix/net/types/response.ts +++ b/src/matrix/net/types/response.ts @@ -18,7 +18,7 @@ export type Attachment = { body: string; info: AttachmentInfo; // todo: what about m.audio? - msgtype: "m.image" | "m.file" | "m.video"; + msgtype: string; url?: string; file?: EncryptedFile; filename?: string;