Update custom-components.ts

This commit is contained in:
Will Hunt 2025-07-03 14:08:10 +01:00 committed by GitHub
parent cfb8c685d4
commit 0b5681bf5b

View File

@ -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>;
};