mirror of
https://github.com/vector-im/element-web.git
synced 2026-04-20 04:51:40 +02:00
Update custom-components.ts
This commit is contained in:
parent
cfb8c685d4
commit
0b5681bf5b
@ -47,7 +47,7 @@ export type CustomMessageRenderHints = {
|
||||
/**
|
||||
* If an event contains media, this function will be called to check
|
||||
* if the media can be prompted to be downloaded as a file.
|
||||
* Default is true.
|
||||
* If this function is not supplied, media downloads are allowed.
|
||||
*/
|
||||
allowDownloadingMedia?: (mxEvent: MatrixEvent) => Promise<boolean>;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user