Add license and negate the conditional

This commit is contained in:
Jaiwanth 2021-06-29 19:43:21 +05:30
parent 497d8102e2
commit b0be7d2861
3 changed files with 4 additions and 2 deletions

View file

@ -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);