From e59bd4e184bbbe6670a8bf78ac4425b0adf5cbb2 Mon Sep 17 00:00:00 2001 From: Ivana Date: Wed, 23 Mar 2022 10:20:23 +0000 Subject: [PATCH] Update messages uploaded to mailbox correctly --- messages-uploaded-to-mailbox-correctly.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/messages-uploaded-to-mailbox-correctly.md b/messages-uploaded-to-mailbox-correctly.md index 74a0779..3cc0a0b 100644 --- a/messages-uploaded-to-mailbox-correctly.md +++ b/messages-uploaded-to-mailbox-correctly.md @@ -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)