Update messages uploaded to mailbox correctly

Ivana
2022-03-23 10:20:23 +00:00
parent 86002efed5
commit e59bd4e184

@@ -89,10 +89,30 @@ Scenarios:
- recipient now switches the BT off, and goes online, and DOES NOT receive the same message from their mailbox
- TBD what happens to the messages upoaded into the mailbox, but that get delivered directly to the briar app via BT? for example. Do those messages get purged from mailbox?
**Scenario 4**
| sender | online | has mailbox | maibox online | recipient | online | has mailbox | maibox online |
| ------ | ------ | ------ | ------ | ------ | ------ |------ | ------ |
| ------ | yes | no | na | ------ | no |yes | yes|
This is a scenario for cases where the sender doesn't have a mailbox, but the recipient has
- initially the sender is online and wants to message the recipient who is offline
- the sender's message will get uploaded to the recipient's mailbox.
- sender goes offline.
- when the recipient comes online, the message is forwarded to them by their mailbox.
- recipient's briar app generates the ack.
- The ack is uploaded to the recipient's mailbox.
- recipient goes offline.
- the sender comes online and receives the ack from the recipient's mailbox.
- recipient comes online.
- now we have the sender, recipient and recipient's mailbox who are all online at the same time
- recipient now replies to the message they received from the sender,
- this message is delivered directly to the sender, without passing via recipient's mailbox - **TBD how this can be verified. Or does it even need to be verified?**
- recipient who sent this message gets an immediate double tick in the briar app for that message
[Back to Testing](https://code.briarproject.org/briar/briar/-/wikis/Testing)