Merge branch 'main' of github.com:/element-hq/element-web-modules into t3chguy/restricted-guests-api

This commit is contained in:
Michael Telatynski
2025-07-16 15:03:44 +01:00
3 changed files with 8 additions and 1 deletions
@@ -44,6 +44,12 @@ export type CustomMessageRenderHints = {
* Default is true.
*/
allowEditingEvent?: boolean;
/**
* If an event contains media, this function will be called to check
* if the media can be prompted to be downloaded as a file.
* If this function is not supplied, media downloads are allowed.
*/
allowDownloadingMedia?: (mxEvent: MatrixEvent) => Promise<boolean>;
};
/**