From 9dee7f1519ffea0efccaaf6e6ac2e25433e39290 Mon Sep 17 00:00:00 2001 From: hampus-fluxer Date: Tue, 6 Jan 2026 06:20:58 +0100 Subject: [PATCH] fix(app): make personal notes DM-like for search filtering (#57) --- fluxer_app/src/components/channel/searchScopeOptions.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fluxer_app/src/components/channel/searchScopeOptions.ts b/fluxer_app/src/components/channel/searchScopeOptions.ts index bd16ca00..af3089fc 100644 --- a/fluxer_app/src/components/channel/searchScopeOptions.ts +++ b/fluxer_app/src/components/channel/searchScopeOptions.ts @@ -97,6 +97,9 @@ export const getScopeOptionsForChannel = (i18n: I18n, channel?: ChannelRecord | return GUILD_SCOPE_OPTIONS; } - const isDmChannel = channel.type === ChannelTypes.DM || channel.type === ChannelTypes.GROUP_DM; + const isDmChannel = + channel.type === ChannelTypes.DM || + channel.type === ChannelTypes.GROUP_DM || + channel.type === ChannelTypes.DM_PERSONAL_NOTES; return isDmChannel ? DM_SCOPE_OPTIONS : GUILD_SCOPE_OPTIONS; };