fix(mgmt): tier-aware link join-failure reply (#111) #115
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/111-self-serve-link-reply"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the self-serve
linkjoin-failure reply (#111): it told the requester to "invite the bot to it first, then runlinkagain" — unsatisfiable for a self-serve user, whose non-direct invite to the bot is auto-rejected by the DMs-only gate.probe_room_prereqs; message selection is extracted to a unit-testedjoin_failure_replyhelper.Reword only — the pending-link invite-gate exemption (needs #83/#87 reap semantics) is deliberately left for later, so #111 stays open for it.
Verified on staging: 2 new unit tests +
clippy -D warnings+ build, and livefed_link_v12+mgmt_self_serve_linkboth pass (they assert success-path strings; this only touches the join-failure path).🤖 Generated with Claude Code
linkof an invite-only room is unsatisfiable — the invite gate rejects the invite the link reply instructs #111