hide nip05 in notes on iris
This commit is contained in:
parent
c3a6304573
commit
3a07e2abee
@ -30,5 +30,6 @@
|
||||
"wss://relay.snort.social/": { "read": true, "write": true },
|
||||
"wss://nostr.wine/": { "read": true, "write": false },
|
||||
"wss://eden.nostr.land/": { "read": true, "write": false }
|
||||
}
|
||||
},
|
||||
"showNip05InNotes": true
|
||||
}
|
||||
|
@ -30,5 +30,6 @@
|
||||
"wss://eden.nostr.land/": { "read": true, "write": false },
|
||||
"wss://relay.nostr.band/": { "read": true, "write": true },
|
||||
"wss://relay.damus.io/": { "read": true, "write": true }
|
||||
}
|
||||
},
|
||||
"showNip05InNotes": false
|
||||
}
|
||||
|
1
packages/app/custom.d.ts
vendored
1
packages/app/custom.d.ts
vendored
@ -70,6 +70,7 @@ declare const CONFIG: {
|
||||
eventLinkPrefix: NostrPrefix;
|
||||
profileLinkPrefix: NostrPrefix;
|
||||
defaultRelays: Record<string, RelaySettings>;
|
||||
showNip05InNotes: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -334,6 +334,7 @@ export function NoteInner(props: NoteProps) {
|
||||
pubkey={ev.pubkey}
|
||||
subHeader={replyTag() ?? undefined}
|
||||
link={opt?.canClick === undefined ? undefined : ""}
|
||||
showNip05={CONFIG.showNip05InNotes}
|
||||
/>
|
||||
<div className="info">
|
||||
{props.context}
|
||||
|
Loading…
Reference in New Issue
Block a user