Ensure mention profiles render with display names
Co-authored-by: Daniel D’Aquino <daniel@daquino.me> Closes: https://github.com/damus-io/damus/issues/3331 Changelog-Fixed: Fix mention pills falling back to @npub text when profile metadata is missing Signed-off-by: alltheseas <64376233+alltheseas@users.noreply.github.com>
This commit is contained in:
committed by
Daniel D’Aquino
parent
44071e9d75
commit
7eafe973d9
@@ -101,6 +101,10 @@ extension NostrNetworkManager {
|
||||
relevantStream.continuation.yield(profile)
|
||||
}
|
||||
}
|
||||
|
||||
// Notify the rest of the app so views that rely on rendered text (like mention strings)
|
||||
// can reload and pick up the freshly fetched profile metadata.
|
||||
notify(.profile_updated(.remote(pubkey: metadataEvent.pubkey)))
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user