Use new thread labs feature name (#9749)

Co-authored-by: Germain <germain@souquet.com>
t3chguy/dedup-icons-17oct
Travis Ralston 2022-12-13 11:32:23 -07:00 committed by GitHub
parent 2d2755d145
commit 85d43fffc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export function doesRoomHaveUnreadMessages(room: Room): boolean {
// despite the name of the method :(( // despite the name of the method :((
const readUpToId = room.getEventReadUpTo(myUserId!); 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 // 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! // 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 // Should fix: https://github.com/vector-im/element-web/issues/3263