~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

actorView promises a name and avatar that getActor never gives

Closed
Closed chadtmiller.com opened this issue 0 comments

What happened

getActor's output is defs#actorView, whose description says it holds the person's name, words and face from their profile in the group, or from their Bluesky or Grain profile, with avatars at /img/actor/{did}/{cid}. actor_view answers only did and the handle from the DID document, plus canCreateGroup for oneself. No /img/actor route exists (lib.rs:450 has only /img/{did}/{cid}). (The note quoted getActor.json, but the text is actorView's in defs.json.)

How to see it

Read against docs/fresh at 4636e6d, the code at: lexicons defs.json:412-437 (actorView), getActor.json output; actors.rs:38-44 (actor_view), :87-112. Paths are under crates/group-host/src unless they say otherwise. Severity: low.

What you expected

Change actorView's description to say what is answered (did and handle from the DID document), and drop the /img/actor text until a profile is read.

Where

The host, as built from 4636e6d. Found while checking the docs against the code.