mirror of https://github.com/vector-im/riot-web
Add license and negate the conditional
parent
497d8102e2
commit
b0be7d2861
|
@ -73,7 +73,7 @@ export default class ReplyThread extends React.Component {
|
||||||
|
|
||||||
this.unmounted = false;
|
this.unmounted = false;
|
||||||
|
|
||||||
if (this.props.forExport) {
|
if (!this.props.forExport) {
|
||||||
this.context.on("Event.replaced", this.onEventReplaced);
|
this.context.on("Event.replaced", this.onEventReplaced);
|
||||||
this.room = this.context.getRoom(this.props.parentEv.getRoomId());
|
this.room = this.context.getRoom(this.props.parentEv.getRoomId());
|
||||||
this.room.on("Room.redaction", this.onRoomRedaction);
|
this.room.on("Room.redaction", this.onRoomRedaction);
|
||||||
|
|
|
@ -7,7 +7,7 @@ import { decryptFile } from "../DecryptFile";
|
||||||
import { mediaFromContent } from "../../customisations/Media";
|
import { mediaFromContent } from "../../customisations/Media";
|
||||||
import { formatFullDateNoDay } from "../../DateUtils";
|
import { formatFullDateNoDay } from "../../DateUtils";
|
||||||
import { MatrixClient } from "matrix-js-sdk";
|
import { MatrixClient } from "matrix-js-sdk";
|
||||||
import streamToZIP from "./StreamToZip";
|
import streamToZIP from "./ZipStream";
|
||||||
import * as ponyfill from "web-streams-polyfill/ponyfill"
|
import * as ponyfill from "web-streams-polyfill/ponyfill"
|
||||||
import "web-streams-polyfill/ponyfill"; // to support streams API for older browsers
|
import "web-streams-polyfill/ponyfill"; // to support streams API for older browsers
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// Based on https://github.com/jimmywarting/StreamSaver.js/blob/master/examples/zip-stream.js
|
||||||
|
|
||||||
/* global ReadableStream */
|
/* global ReadableStream */
|
||||||
|
|
||||||
type TypedArray =
|
type TypedArray =
|
Loading…
Reference in New Issue