mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-06 00:37:23 +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) {
|
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 { user } = useCurrentUser();
|
||||||
const { nostr } = useNostr();
|
const { nostr } = useNostr();
|
||||||
const { mutateAsync: createEvent } = useNostrPublish();
|
const { mutateAsync: createEvent } = useNostrPublish();
|
||||||
|
|||||||
Reference in new issue
Block a user