Use new thread labs feature name (#9749)

Co-authored-by: Germain <germain@souquet.com>
This commit is contained in:
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

View file

@ -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