From 85d43fffc4981cb7e0e8e5c6b0616dd0e560accd Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 13 Dec 2022 11:32:23 -0700 Subject: [PATCH] Use new thread labs feature name (#9749) Co-authored-by: Germain --- src/Unread.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Unread.ts b/src/Unread.ts index 1a39c6f212..17fe76f03f 100644 --- a/src/Unread.ts +++ b/src/Unread.ts @@ -66,7 +66,7 @@ export function doesRoomHaveUnreadMessages(room: Room): boolean { // despite the name of the method :(( const readUpToId = room.getEventReadUpTo(myUserId!); - if (!SettingsStore.getValue("feature_thread")) { + if (!SettingsStore.getValue("feature_threadstable")) { // as we don't send RRs for our own messages, make sure we special case that // if *we* sent the last message into the room, we consider it not unread! // Should fix: https://github.com/vector-im/element-web/issues/3263