This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Description
This is the client issue for giving chat messages a failed state:
OpenBazaar/openbazaar-go#1093
Currently, when a message is sent the UI shows it under the assumption it will be sent. If the recipient is hard to reach or offline, sending can take several minutes, during which time the message is not written to the database.
This can result in the user seeing their message, navigating away, and then their message disappears because it's not in the chat data returned from the server. The message then reappears later if the message completes its send.
The server is being updated to save the message before sending it, and to have a new failed parameter on each message. If a message is saved and the send fails, the send parameter will indicate that message failed.
Functional Requirements