The Message Sent indicators are not working as one would expect.
They should have the following states:
One checkmark -> Message has been sent but not delivered yet (kept in senders storage)
Two checkmarks -> Message has been sent but not read yet ( message has been delivered to receivers DS)
Two blue checkmarks -> The receiver has read the message
We have to specify how the protocol should be implemented in the last case. The receivers client might send a message back to the sender that the message has been read
[x] Message.ts add the type READ_OPENED to MessageType
[x] Message.ts create a function to create new messages from type READ_OPENED and READ_RECEIVED using internalCreateMessage. Use the referenceMEssageHashField to store the message that has been received/read
Messenger-widget
Receivers end:
[x] useMessages:341.tsx for every message received from DS or Websocket. Send READ_RECEIVED to sender
[x] useMessages:121.tsx when a message has been open send READ_RECEIVED msg to sender
Senders end:
[x] add another render function that renders read receipts for messages correctly.
The Message Sent indicators are not working as one would expect. They should have the following states:
We have to specify how the protocol should be implemented in the last case. The receivers client might send a message back to the sender that the message has been read