diff --git a/src/utils/exportUtils/HtmlExport.tsx b/src/utils/exportUtils/HtmlExport.tsx
index 914b8867a9..a69fab9f06 100644
--- a/src/utils/exportUtils/HtmlExport.tsx
+++ b/src/utils/exportUtils/HtmlExport.tsx
@@ -155,7 +155,7 @@ export default class HTMLExporter extends Exporter {
try {
const isEncrypted = event.isEncrypted();
const content = event.getContent();
- if (isEncrypted) {
+ if (isEncrypted && !content.hasOwnProperty("org.matrix.msc1767.file")) {
blob = await decryptFile(content.file);
} else {
const media = mediaFromContent(event.getContent());