From d6dad81cb332574a0d6bd702602c508aeb9ab45c Mon Sep 17 00:00:00 2001 From: Ivana Date: Tue, 29 Mar 2022 12:29:05 +0000 Subject: [PATCH] Update messages removable media mailbox --- messages-removable-media-mailbox.md | 51 ++++++++++++++++++++++++++--- 1 file changed, 47 insertions(+), 4 deletions(-) diff --git a/messages-removable-media-mailbox.md b/messages-removable-media-mailbox.md index cdb4242..7951c1e 100644 --- a/messages-removable-media-mailbox.md +++ b/messages-removable-media-mailbox.md @@ -15,16 +15,16 @@ Then we have the following scenarios - | yes | text | yes | yes | yes | after | yes | MB | | yes | photo | yes | yes | yes | after | yes | Rem Media | | yes | profile pic | yes | no | yes| before | yes | Rem Media | -| cell | cell | cell | cell | cell | cell | | | +| no | make intro | yes | yes | yes | before | yes | MB | -**Recipient** +**Recipient1** | is online | msg type | has MB | MB online | exports ack | before/afterMB upload | | ------ | ------ | ------ | ------ | ------ | ------ | |no | text | yes | yes | yes | na | | no | photo | yes | yes | yes | after | -| cell | cell | cell | cell | cell | cell | -| cell | cell | cell | cell | cell | cell | +| no | profile pic| no | yes | yes | after | +| yes | make intro | yes | yes | no | na | **Scenario 1** Recipient receives message from the removable media, but sends ack via mailbox @@ -92,4 +92,47 @@ In this scenario sender has a MB which is offline initially, so their only optio - the sender comes back online and can message the recipient directly, and recipient receives messages, generates acks and sends messages as normal. - recipient comes back online +**Scenario 4** + +In this scenario we check what will happen in a more complex situation where some recipients have a mailbox and some do not + +**Sender** + +| is online | msg type | has MB | MB online | exports msg | before/after MB upload | receives acks | ack medium | +| ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | +| no | make intro | yes | yes | yes | before | yes | MB | + +**Recipient1** + +| is online | msg type | has MB | MB online | exports ack | before/afterMB upload | +| ------ | ------ | ------ | ------ | ------ | ------ | +| yes | make intro | yes | yes | no | na | + +**Recipient2** + +| is online | msg type | has MB | MB online | exports ack | before/afterMB upload | +| ------ | ------ | ------ | ------ | ------ | ------ | +| no | make intro | no| na | yes | na | + + +The message sender is offline, and they want to make intro between two contacts. +- sender exports the 'make intro' message to recipient1, who is online +- recipient1 imports the 'make intro' message from removable media, and accepts the intro +- sender comes online and their 'make intro' message to recipient2 is uploaded to their mailbox. +- sender receives the ack from recipient 1 +- sender goes offline +- recipient 2 is offline, therefore they cannot receive the 'make intro' message from the sender's malbox +- sender exports the 'make intro' message onto removable media +- recipient 2 imports the 'make intro' message from removable media +- recipient2 comes back online +- recipient2 denlines the 'make intro' but this cannot be sent, as the sender is offline - so this decline can be exported either to removable media or to mailbox. +- recipient 2 installs the mailbox and pairs it with their briar app +- the decline 'make intro' message is uploaded to their mailbox +- sender comes back online +- they receive the decline via the recipient 2's mailbox +- + + + + [Back to testing](https://code.briarproject.org/briar/briar/-/wikis/Testing) \ No newline at end of file