mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-03 08:07:21 +00:00
disable message unless explicitly added
This commit is contained in:
1 parent
69b314c831
commit
1dc91bd978
1 file changed
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user