mirror of https://github.com/vector-im/riot-web
Small fix
parent
4c22d1f2a1
commit
e7f0df7fcc
|
@ -4,10 +4,10 @@ import { MatrixClientPeg } from "../../MatrixClientPeg";
|
|||
import { TimelineWindow } from "matrix-js-sdk/src/timeline-window";
|
||||
import { arrayFastClone } from "../arrays";
|
||||
|
||||
export abstract class Exporter {
|
||||
export default abstract class Exporter {
|
||||
constructor(protected room: Room) {}
|
||||
|
||||
protected getTimelineConversation = () : MatrixEvent => {
|
||||
protected getTimelineConversation = () : MatrixEvent[] => {
|
||||
if (!this.room) return;
|
||||
|
||||
const cli = MatrixClientPeg.get();
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
import React from "react"
|
||||
import streamSaver from "streamsaver";
|
||||
import JSZip from "jszip";
|
||||
import Exporter from "./Exporter";
|
||||
import { decryptFile } from "../DecryptFile";
|
||||
import { mediaFromContent, mediaFromMxc } from "../../customisations/Media";
|
||||
import { Room } from "matrix-js-sdk/src/models/room";
|
||||
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
|
||||
import { Exporter } from "./Exporter";
|
||||
import { renderToStaticMarkup } from 'react-dom/server'
|
||||
import { Layout } from "../../settings/Layout";
|
||||
import { shouldFormContinuation } from "../../components/structures/MessagePanel";
|
||||
|
|
Loading…
Reference in New Issue