plans: names unparsed links read unavailable

This commit is contained in:
shum committed 2026-10-22 23:25:15 +00:00
1 parent 9faf995af4
commit c43504cd22
1 file changed
+1 -1
+1 -1
View File
@@ -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.