[client] F22a: forget_invite, so an unclaimed invite's mailbox is not fetched for ever
ci / check (pull_request) Has been cancelled

This commit is contained in:
2026-11-16 01:02:29 +01:00
parent 21bee2d633
commit 6f939be758
3 changed files with 29 additions and 1 deletions
+4 -1
View File
@@ -86,7 +86,10 @@ The F21 calls stay, for apps and tests without persistence: `send` = `compose` +
8. **The relay fails:** `finish` acknowledges nothing when delivering fails (an app without an
outbox depends on that). A `receive` whose relay fails part-way returns what it processed,
because the client's state already includes it.
9. **A used welcome mailbox is no longer fetched**, even after a restart.
9. **A used welcome mailbox is no longer fetched**, even after a restart. Neither is a forgotten
invite's: `forget_invite(id)`, which the app calls when an invite is cancelled or older than the
relay's 7 days (the library has no clock). Without it an unclaimed invite's mailbox is fetched
for ever.
Planted bugs, for the review: `receive` acknowledges inside the call; `compose` posts; `restore`
skips the storage map; `finish` acknowledges before it delivers; a restored client starts