Skip to content
Snippets Groups Projects
Commit 8f3a4d6a authored by meejah's avatar meejah
Browse files

final ack

parent d1c2eec9
No related branches found
No related tags found
1 merge request!2wormhole-based invite protocol
......@@ -244,6 +244,15 @@ If the inviting device receives a rejection message, it MUST NOT add the partici
When receiving an affirmative reply, the inviting device adds a read-only, immutable, empty directory to the Collective under the given name.
This entry indicates to all devices in the Collective that a given device has read-only access.
The inviter side sends back a final acknowledgement to the invited device.
This indicates whether the participant was added successfully or not with the `"success"` field::
{
"protocol": "invite-v1",
"kind": "join-folder-ack",
"success": True,
}
This concludes the protocol and both sides close their mailboxes.
**Future enhancement**: a participant could be invited to multiple folders by doing multiple rounds of the above communication. This then needs a way to associate replies to requests (e.g. unique IDs, or enforced sequential answers, or some other technique)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment