From ef0aa59fac7d2f0cbde2b49d53f5781e73dc6785 Mon Sep 17 00:00:00 2001 From: Daniel Lublin Date: Fri, 11 Mar 2022 11:42:18 +0100 Subject: [PATCH] Revise mailbox prop client --- Mailbox-Properties-Client.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mailbox-Properties-Client.md b/Mailbox-Properties-Client.md index 85486a4..a50ae7d 100644 --- a/Mailbox-Properties-Client.md +++ b/Mailbox-Properties-Client.md @@ -15,9 +15,9 @@ The client uses a separate BSP group for communicating with each contact. The [g **UPDATE** - The message body is a BDF list with two elements: `version` (int), and `properties` (dictionary). `version` is incremented whenever the properties change. The keys of the `properties` dictionary are strings. -For major version 0, the `properties` of a well-formed update are either 0 (empty dict), which means for the receiver that there is no mailbox available. Or, there are precisely 4 items: +For major version 0, the `properties` dictionary of a well-formed update contains either no (0) entries, which means for the receiver that there is no mailbox available. Or, it contains all of the following entries: -* "onionAddress" : String -- Onion Address of mailbox (56 lower-case base32 chars, as derived from the v3 Onion Service public key) +* "onion" : String -- Onion of the mailbox (56 lower-case base32 chars, derived from the v3 Onion Service public key) * "authToken" : byte[32] -- token used for authenticating with the mailbox * "inboxId" : byte[32] -- folder id used when receiving data from the mailbox * "outboxId" : byte[32] -- folder id used when delivering data to the mailbox