From c43504cd2285faecd90bb3ba594fe5f411955be6 Mon Sep 17 00:00:00 2001 From: shum Date: Thu, 22 Oct 2026 23:25:15 +0000 Subject: [PATCH] plans: names unparsed links read unavailable --- plans/names-codes/2026-10-21-store-api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/names-codes/2026-10-21-store-api.md b/plans/names-codes/2026-10-21-store-api.md index e156358fcc..66f10c388d 100644 --- a/plans/names-codes/2026-10-21-store-api.md +++ b/plans/names-codes/2026-10-21-store-api.md @@ -191,7 +191,7 @@ A name that is paid for here but not yet `registering` (`queued` to `committed`) - `kind`: what the link opens. For a contact address, `business` when the link data says so (`business`, or the profile's `peerType` business), `bot` for `peerType` bot, else `contact`. For a channel link, `channel`; - `displayName`, `fullName` (may be ""), `image` (a `data:image/…` URI or null); - `subscribers`: a channel's member count from its link data (`publicGroupData.publicMemberCount`), else null; - - `link`: as recorded; `deepLink`: the chat core's own `simplex:/` form of the short link, which keeps the server as `?h=` (and its port and other hosts), so the app can open it. When the chat core cannot parse the link, `deepLink` is null and the page opens `link` as it is. + - `link`: as recorded; `deepLink`: the chat core's own `simplex:/` form of the short link, which keeps the server as `?h=` (and its port and other hosts), so the app can open it. When the chat core cannot parse the link, `deepLink` is null, `profile` is `unavailable`, and the page opens `link` as it is. - `profile`: `ok` when the link data was read; `unread` when it could not be read now (no free slot, a timeout, a failed fetch), so searching again may fill it; `unavailable` when the service does not fetch it (section 3, the host rule). Without a profile the entity has `displayName` "", `fullName` "", `image` null, `subscribers` null, and `kind` from the link (`contact` or `channel`); the page shows the default icon. - The service opens each link with the chat core's connect plan (`APIConnectPlan`), which reads the link data without connecting, within the search fetch bound (section 1). - `owner`, `resolver`: the registry's `owner(node)` and `resolver(node)`. `recordsNonce`: `SimplexResolver.nonces(owner)`, for the next edit.