diff --git a/src/models/thread.ts b/src/models/thread.ts index 14a036b3046..132784effdc 100644 --- a/src/models/thread.ts +++ b/src/models/thread.ts @@ -119,6 +119,7 @@ export class Thread extends TypedEventEmitter { private onBeforeRedaction = (event: MatrixEvent, redaction: MatrixEvent) => { if (event?.isRelation(THREAD_RELATION_TYPE.name) && this.room.eventShouldLiveIn(event).threadId === this.id && + event.getId() !== this.id && // the root event isn't counted in the length so ignore this redaction !redaction.status // only respect it when it succeeds ) { this.replyCount--;