Respect filename field on m.file events (#8951)

This commit is contained in:
Michael Telatynski
2022-06-30 16:22:52 +01:00
committed by GitHub
parent 328d7ea5eb
commit 89ae540faa
2 changed files with 4 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ export interface IMediaEventInfo {
export interface IMediaEventContent {
body?: string;
filename?: string; // `m.file` optional field
url?: string; // required on unencrypted media
file?: IEncryptedFile; // required for *encrypted* media
info?: IMediaEventInfo;