[client] F24: block and unblock as staged rotates, receipts with seq, readdress; payloads in PROTOCOL.md
ci / check (pull_request) Has been cancelled
ci / check (pull_request) Has been cancelled
This commit is contained in:
@@ -46,6 +46,19 @@ MLS**. To the relay, the welcome mailbox is an ordinary mailbox.
|
||||
*(Changed 2026-11-14, approved by Mark, from "the invitee replies with their own KeyPackage": the
|
||||
invitee needs no KeyPackage, because it creates the group itself.)*
|
||||
|
||||
### Payloads inside MLS *(added 2026-11-17, F24; `.agents/features/block-and-receipts.md`)*
|
||||
Every MLS application message carries one JSON object. The relay sees none of it.
|
||||
| `kind` | Fields | Meaning |
|
||||
|:--|:--|:--|
|
||||
| `hello` | `mailbox`, `postToken`, `name` | where and how to post to the sender; once per conversation |
|
||||
| `text` | `body`, `seq` | a message; `seq` counts the sender's texts to this contact from 1 |
|
||||
| `receipt` | `upto` | the receiver has saved the sender's texts up to `upto`. Sent only by a client with receipts on; a client with them off also ignores them |
|
||||
| `inbox` | `postToken` | a new post token for the mailbox the receiver already knows (after an unblock). It cannot name another mailbox |
|
||||
|
||||
**Block** (§3) is a rotate of the post token to the hash of a token nobody gets. Nothing is sent to
|
||||
the blocked person: their posts get §8's ordinary 404. What they posted before is fetched and
|
||||
dropped. **Unblock** rotates again and sends the new token in an `inbox` payload.
|
||||
|
||||
## 5. What the relay stores — the complete list
|
||||
| Table | Columns |
|
||||
|:--|:--|
|
||||
|
||||
Reference in New Issue
Block a user