Also broadcast event's user profile
This should help propagation of user profiles Changelog-Changed: Broadcast now also broadcasts event user's profile
This commit is contained in:
1 parent
c9c51c6d4a
commit
cc190c3618
4 files changed
+11
-4
No files matched your search
@@ -667,7 +667,7 @@ func process_metadata_event(our_pubkey: String, profiles: Profiles, ev: NostrEve
|
||||
}
|
||||
}
|
||||
|
||||
let tprof = TimestampedProfile(profile: profile, timestamp: ev.created_at)
|
||||
let tprof = TimestampedProfile(profile: profile, timestamp: ev.created_at, event: ev)
|
||||
profiles.add(id: ev.pubkey, profile: tprof)
|
||||
|
||||
if let nip05 = profile.nip05, old_nip05 != profile.nip05 {
|
||||
|
||||
Reference in new issue
Block a user