aboutsummaryrefslogtreecommitdiffstats
path: root/src/features
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-02 22:40:33 -0700
committerAdam Soltys <[email protected]>2026-10-02 22:40:33 -0700
commitc1f6d1340f47b89467381dd59ade2947e03bc470 (patch)
treea69a18b01d7a62348a78f08d1635b3ea0f1ddc42 /src/features
parent78f8e047f2e94e6065f6041c481387c7e6e20eec (diff)
downloadcoinosv3-c1f6d1340f47b89467381dd59ade2947e03bc470.tar.gz
coinosv3-c1f6d1340f47b89467381dd59ade2947e03bc470.zip
White Noise shows a coinos user's real name: the profile goes to its relays too
A coinos account appeared in White Noise as "Rapid Flamingo": with no kind 0 on its relays the app makes a name up. The profile now travels with the relay lists (the account's own signed events, unchanged), and is sent again when it changes, checked at boot and while Chat is open. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Diffstat (limited to 'src/features')
-rw-r--r--src/features/messages.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/features/messages.js b/src/features/messages.js
index 62e2467..f7fb492 100644
--- a/src/features/messages.js
+++ b/src/features/messages.js
@@ -9702,6 +9702,8 @@ export function messagesFeature(ctx) {
// Group chats ride along: the client loads with the wallet, and standing
// on this screen is what makes us invitable (a KeyPackage on the relays).
whiteNoise().then(async (c) => {
+ // a profile renamed since boot should reach White Noise's relays too (throttled inside)
+ if (c && wnReadied) c.announce();
if (!c || wnReadied) return;
wnReadied = true;
await c.load();