From 4826868a8f97797ff602e68db2bc66d28bce8e99 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 21 Feb 2024 19:01:16 +0000 Subject: [PATCH] Update stale comment (#4080) And remove line that set it for it to just get overwritten --- src/models/thread.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/models/thread.ts b/src/models/thread.ts index 32fd0621c..56250afde 100644 --- a/src/models/thread.ts +++ b/src/models/thread.ts @@ -198,8 +198,8 @@ export class Thread extends ReadReceipt { - this.rootEvent = this.room.findEventById(this.id); - // If the rootEvent does not exist in the local stores, then fetch it from the server. + // Always fetch the root event, even if we already have it, so we can get the latest + // state (via unsigned). try { const eventData = await this.client.fetchRoomEvent(this.roomId, this.id); const mapper = this.client.getEventMapper();