mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-14 02:38:40 +03:00
Add license and negate the conditional
This commit is contained in:
parent
497d8102e2
commit
b0be7d2861
3 changed files with 4 additions and 2 deletions
|
@ -73,7 +73,7 @@ export default class ReplyThread extends React.Component {
|
|||
|
||||
this.unmounted = false;
|
||||
|
||||
if (this.props.forExport) {
|
||||
if (!this.props.forExport) {
|
||||
this.context.on("Event.replaced", this.onEventReplaced);
|
||||
this.room = this.context.getRoom(this.props.parentEv.getRoomId());
|
||||
this.room.on("Room.redaction", this.onRoomRedaction);
|
||||
|
|
|
@ -7,7 +7,7 @@ import { decryptFile } from "../DecryptFile";
|
|||
import { mediaFromContent } from "../../customisations/Media";
|
||||
import { formatFullDateNoDay } from "../../DateUtils";
|
||||
import { MatrixClient } from "matrix-js-sdk";
|
||||
import streamToZIP from "./StreamToZip";
|
||||
import streamToZIP from "./ZipStream";
|
||||
import * as ponyfill from "web-streams-polyfill/ponyfill"
|
||||
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 */
|
||||
|
||||
type TypedArray =
|
Loading…
Reference in a new issue