mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-02-02 04:54:21 +01:00
Don't set NIP-05 after lightning address
This commit is contained in:
committed by
Tony Giorgio
parent
163deebd83
commit
bffe3a80a0
@@ -73,15 +73,12 @@ function HermesForm(props: { onSubmit: (name: string) => void }) {
|
||||
|
||||
const formattedName = `${name}@${hermesDomain}`;
|
||||
|
||||
const existingProfile = state.mutiny_wallet?.get_nostr_profile();
|
||||
|
||||
const _ = await state.mutiny_wallet?.edit_nostr_profile(
|
||||
undefined,
|
||||
undefined,
|
||||
// lnurl
|
||||
formattedName,
|
||||
// nip05 if they don't have one
|
||||
existingProfile?.nip05 ? undefined : formattedName
|
||||
undefined
|
||||
);
|
||||
reset(nameForm);
|
||||
props.onSubmit(name);
|
||||
|
||||
Reference in New Issue
Block a user