mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 22:23:23 +00:00
!profile -> return
This commit is contained in:
parent
3810bbc7c2
commit
89d3bfe61f
@ -372,6 +372,9 @@ class Profile extends View {
|
||||
Nostr.getProfile(
|
||||
address,
|
||||
(profile) => {
|
||||
if (!profile) {
|
||||
return;
|
||||
}
|
||||
if (profile.nip05 && profile.nip05valid) {
|
||||
// replace url and history entry with iris.to/${profile.nip05} or if nip is user@iris.to, just iris.to/${user}
|
||||
const nip05 = profile.nip05;
|
||||
|
Loading…
Reference in New Issue
Block a user