redeem ignores a lapsed invite and never takes it back. Nothing else removes lapsed invites, and no sweep like FORGET_ISSUED/FORGET_SPENT exists for the invite table. The record stays in the group's repo in the invitee's inbox, where their apps read it, and the row stays in invite. Both go only when the group invites that person again (group_invites.rs:189), revokes, or the invitee declines.
How to see it
Read against docs/fresh at 4636e6d, the code at: group_invites.rs:147; store.rs (no sweep of invite). Paths are under crates/group-host/src unless they say otherwise. Severity: low.
What you expected
Take a lapsed invite back when redeem finds it, and sweep lapsed rows (taking their records back) on the host's periodic tick.
Where
The host, as built from 4636e6d. Found while checking the docs against the code.
What happened
redeemignores a lapsed invite and never takes it back. Nothing else removes lapsed invites, and no sweep likeFORGET_ISSUED/FORGET_SPENTexists for theinvitetable. The record stays in the group's repo in the invitee's inbox, where their apps read it, and the row stays ininvite. Both go only when the group invites that person again (group_invites.rs:189), revokes, or the invitee declines.How to see it
Read against
docs/freshat 4636e6d, the code at: group_invites.rs:147; store.rs (no sweep ofinvite). Paths are undercrates/group-host/srcunless they say otherwise. Severity: low.What you expected
Take a lapsed invite back when
redeemfinds it, and sweep lapsed rows (taking their records back) on the host's periodic tick.Where
The host, as built from 4636e6d. Found while checking the docs against the code.