fix(desktop): retain hidden DM reopen mutation

On-behalf-of: mahanti <arjun.mahanti@gmail.com>
Signed-off-by: Fizz <fizz@buzz.local>
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Fizz
2026-08-28 11:26:29 -04:00
parent f6b75cee9e
commit 9bea9aaccc

View File

@@ -33,6 +33,7 @@ import {
useChannelsQuery,
useCreateChannelMutation,
useHideDmMutation,
useOpenDmMutation,
} from "@/features/channels/hooks";
import { useDmResurfaceFromMessages } from "@/features/channels/useDmResurfaceFromMessages";
import { useUnreadChannels } from "@/features/channels/useUnreadChannels";
@@ -504,6 +505,7 @@ export function AppShell() {
const createChannelMutation = useCreateChannelMutation(),
createForumMutation = useCreateChannelMutation();
const { applyCanvas, applyAgents } = useApplyTemplate();
const openDmMutation = useOpenDmMutation();
const openDm = useScopedOpenDmNavigation({
goChannel,
relayUrl: communitiesHook.activeCommunity?.relayUrl,