Append media text to text for event

This commit is contained in:
Jaiwanth 2021-06-25 15:01:14 +05:30
parent c885cd719f
commit 593f14beae

View file

@ -75,7 +75,7 @@ export default class PlainTextExporter extends Exporter {
} else mediaText = ` (${this.mediaOmitText})`;
}
if (this.isReply(mxEv)) return senderDisplayName + ": " + this.textForReplyEvent(mxEv) + mediaText;
else return textForEvent(mxEv);
else return textForEvent(mxEv) + mediaText;
}
protected async createOutput(events: MatrixEvent[]) {