mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Disable chat folder filtering when feature is disabled
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
@@ -67,6 +67,7 @@ import type {
|
||||
UnreadStats,
|
||||
} from '../../util/countUnreadStats.js';
|
||||
import {
|
||||
isChatFoldersEnabled,
|
||||
isConversationInChatFolder,
|
||||
type ChatFolder,
|
||||
} from '../../types/ChatFolder.js';
|
||||
@@ -426,6 +427,7 @@ export const _getLeftPaneLists = ({
|
||||
let conversation = values[i];
|
||||
|
||||
if (
|
||||
isChatFoldersEnabled() &&
|
||||
!_shouldIncludeInChatFolder(
|
||||
conversation,
|
||||
selectedChatFolder,
|
||||
|
||||
Reference in New Issue
Block a user