disable message unless explicitly added

This commit is contained in:
sam committed 2025-10-21 21:45:04 +07:00
1 parent 69b314c831
commit 1dc91bd978
1 file changed
+1 -1
+1 -1
View File
@@ -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();