mirror of https://github.com/vector-im/riot-web
Handle encrypted voice messages
parent
5f1c9d0f88
commit
01284ef8c6
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue