From 1dc91bd9788ef5a6151296b4ae550d80edbc34d0 Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 21 Oct 2025 21:45:04 +0700 Subject: [PATCH] disable message unless explicitly added --- src/contexts/DMContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contexts/DMContext.tsx b/src/contexts/DMContext.tsx index 6027fde..69deb8d 100644 --- a/src/contexts/DMContext.tsx +++ b/src/contexts/DMContext.tsx @@ -373,7 +373,7 @@ function createImetaTags(attachments: FileAttachment[] = []): string[][] { // ============================================================================ export function DMProvider({ children, config }: DMProviderProps) { - const { enabled = true, protocolMode = PROTOCOL_MODE.NIP17_ONLY } = config || {}; + const { enabled = false, protocolMode = PROTOCOL_MODE.NIP17_ONLY } = config || {}; const { user } = useCurrentUser(); const { nostr } = useNostr(); const { mutateAsync: createEvent } = useNostrPublish();