You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Use new thread labs feature name (#9749)
Co-authored-by: Germain <germain@souquet.com>
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user