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

Lapsed invites stay in the invitee's inbox and the host's list

Closed
Closed chadtmiller.com opened this issue 0 comments

What happened

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.