Update messages removable media mailbox

Ivana
2022-03-29 12:29:05 +00:00
parent 0b35da23b4
commit d6dad81cb3

@@ -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)