mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-01-16 20:54:20 +01:00
Search Improvements
Adds ability to send to users who only have a lnurl set. Now shows users without any payment info, but disabled and greyed out.
This commit is contained in:
committed by
benthecarman
parent
ae7c03114e
commit
f3ef3140bb
@@ -326,6 +326,7 @@ export type PseudoContact = {
|
||||
name: string;
|
||||
hexpub: string;
|
||||
ln_address?: string;
|
||||
lnurl?: string;
|
||||
image_url?: string;
|
||||
};
|
||||
|
||||
@@ -372,6 +373,7 @@ export function profileToPseudoContact(profile: NostrProfile): PseudoContact {
|
||||
};
|
||||
contact.name = content.display_name || content.name || profile.pubkey;
|
||||
contact.ln_address = content.lud16 || undefined;
|
||||
contact.lnurl = content.lud06 || undefined;
|
||||
contact.image_url = content.picture || undefined;
|
||||
return contact as PseudoContact;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user