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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue