mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
Update messages removable media mailbox
@@ -14,7 +14,7 @@ Then we have the following scenarios -
|
||||
| ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
||||
| yes | text | yes | yes | yes | after | yes | MB |
|
||||
| yes | photo | yes | yes | yes | after | yes | Rem Media |
|
||||
| cell | cell | cell | cell | cell | cell | | |
|
||||
| yes | profile pic | yes | no | yes| before | yes | Rem Media |
|
||||
| cell | cell | cell | cell | cell | cell | | |
|
||||
|
||||
**Recipient**
|
||||
@@ -35,8 +35,10 @@ In this scenarios, a text message is created by the sender, and they have a MB
|
||||
- The recipient can upload the message from the removable media.
|
||||
- The recipient comes back online
|
||||
- The recipient's mailbox is online, which means that the ack their Briar app generates will be uploaded onto their MB
|
||||
- Before sender comes back online, recipient is able to export the ack onto the removable media
|
||||
- Sender comes back online and received the ack from the recipient's mailbox
|
||||
- The message that the sender sent to the recipient now has 2 ticks
|
||||
- Sender tries to import the ack from the removable media, but cannot (as the ack was already downloaded from the MB)
|
||||
|
||||
**Scenario 2**
|
||||
|
||||
@@ -64,8 +66,30 @@ Recipient receives message from sender's mailbox and sends ack via removable med
|
||||
- Now both recipient and the sender of the original message are online and they message each other directly, without messages passing through MB
|
||||
|
||||
**Scenarios 3**
|
||||
In this scenario sender has a MB which is offline initially, so their only option is to export the messages for the intended recipient who is also offline initially. The intended recipient does not have the MB app, so they can only import the message from removable media.
|
||||
**Sender**
|
||||
|
||||
| is online | msg type | has MB | MB online | exports msg | before/after MB upload | receives acks | ack medium |
|
||||
| ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ |
|
||||
| yes | profile pic | yes | no | yes| before | yes | Rem Media |
|
||||
|
||||
**Recipient**
|
||||
|
||||
| is online | msg type | has MB | MB online | exports ack | before/afterMB upload |
|
||||
| ------ | ------ | ------ | ------ | ------ | ------ |
|
||||
| no | profile pic | no | yes | yes | after |
|
||||
|
||||
- sender sends a message via removable media, as their own mailbox is offline
|
||||
- recipient is offline, does not have MB and imports the message from the removable media.
|
||||
- at this point the sender's mailbox comes back online, and the exported message gets uploaded to the sender's MB
|
||||
- it tries to forward the message to the recipient, who is still offline
|
||||
- sender goes offline
|
||||
- recipient comes back online
|
||||
- sender's mailbox will now try to forward them the message that they already uploaded from the removable media
|
||||
- For the user, this is transparent, but the message should be donwloaded and deleted
|
||||
- the recipient exports the ack
|
||||
- the sender imports the ack from the removable media
|
||||
- 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
|
||||
|
||||
[Back to testing](https://code.briarproject.org/briar/briar/-/wikis/Testing)
|
||||
Reference in New Issue
Block a user