Update messages uploaded to mailbox correctly

Ivana
2022-03-25 10:15:11 +00:00
parent 45efedea0a
commit eef4d9ab34

@@ -8,10 +8,12 @@ THESE SCENARIOS CAN BE REPEATED FOR DIFFERENT TYPES OF MESSAGES/
- FORUMS
- IMPORT RSS
- INTRODUCTIONS
- EXPORTED TO REMOVABLE MEDIA
AND FOR DIFFERENT DEVICES HAVING THE MAILBOX INSTALLED AND PAIRED WITH BRIAR APP ON OTHER DEVICES
ALSO FOR DIFFERENT NUMBER OF MESSAGES AND ACKS (not just one single message)
Mailbox screens do not show any messages, therefore the user cannot know if their messages were correctly uploaded or not. For the user, that is all black box.
For testing purposes, though, it should be possible to verify this by looking into a logfile of some kind, or querying the db.
@@ -133,7 +135,22 @@ This is a scenario for cases where the sender doesn't have a mailbox, but the re
**Scenario 5**
| sender | online | has mailbox | maibox online | recipient | online | has mailbox | maibox online |
| ------ | ------ | ------ | ------ | ------ | ------ |------ | ------ |
| ------ | yes | yes | yes | ------ | no |yes | yes|
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?
In this scenario
- sender sends a message to a contact who is offline
- their message gets uploaded to their mailbox as their contact is offline
- then their contact comes near them and connects via BT
****- TBD should the message (or messages) that was uploaded to mailbox now be resent to the same contact via BT?**
- and the ack will also be delivered via BT
- should the message be purged from Mailbox? (and how to verify this?)**
[Back to Testing](https://code.briarproject.org/briar/briar/-/wikis/Testing)