!profile -> return

This commit is contained in:
Martti Malmi 2023-02-12 22:10:34 +02:00
parent 3810bbc7c2
commit 89d3bfe61f

View File

@ -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;