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

Show someone asking to join only a group that is switched on

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/group-host:host/actor-active

What changes

getActor shows someone asking to join a group only while that group is switched on, as it already did for a member.

Why

The getActor review noted that the two paths disagreed: groups_of counts only switched-on groups, while asking_anywhere counted a pending request to any group.

How it was checked

tests/actors.rs switches the group off and finds its requester no longer shown. just cov is at 100% locally.

🤖 Generated with Claude Code

Approved

asking_anywhere now skips join requests to a group that has a row in deactivation. That is the same "switched on" test groups_of uses, and deactivation.did is the group's DID, so d.did = j.grp is the right join. The design doc line is updated, and the test switches the group off and expects ActorNotFound. I found nothing that must change. I didn't run the tests; the test is a plausible check but I haven't confirmed it passes.

Merged as a4d3436