From 428ff9c539d05bc97546268698c9d590d1796003 Mon Sep 17 00:00:00 2001 From: Germain Date: Tue, 13 Dec 2022 16:37:33 +0100 Subject: [PATCH] Use new thread labs feature name --- 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