You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
indent and use double quotes
This commit is contained in:
@@ -3,7 +3,7 @@ import JSZip from "jszip";
|
||||
import { decryptFile } from "../DecryptFile";
|
||||
import { mediaFromContent, mediaFromMxc } from "../../customisations/Media";
|
||||
import { textForEvent } from "../../TextForEvent";
|
||||
import { Room } from 'matrix-js-sdk/src/models/room';
|
||||
import { Room } from "matrix-js-sdk/src/models/room";
|
||||
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
|
||||
import { getUserNameColorClass } from "../FormattingUtils";
|
||||
import { Exporter } from "./Exporter";
|
||||
@@ -311,7 +311,6 @@ protected wrapHTML(content: string, room: Room) {
|
||||
`
|
||||
}
|
||||
|
||||
|
||||
protected isEdit(event: MatrixEvent) {
|
||||
if (event.getType() === "m.room.message" && event.getContent().hasOwnProperty("m.new_content")) return true;
|
||||
return false;
|
||||
@@ -356,7 +355,6 @@ protected async getUserAvatar(event: MatrixEvent) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected async getImageData(event: MatrixEvent) {
|
||||
let blob: Blob;
|
||||
try {
|
||||
@@ -476,7 +474,6 @@ protected async createHTML(events: MatrixEvent[], room: Room) {
|
||||
return this.wrapHTML(content, room);
|
||||
}
|
||||
|
||||
|
||||
public async export() {
|
||||
const html = await this.createHTML(this.res, this.room);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user