You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-01 09:58:03 +03:00
Handle encrypted voice messages
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user