diff --git a/src/Socket/messages-recv.ts b/src/Socket/messages-recv.ts index 04d050e..b1ce596 100644 --- a/src/Socket/messages-recv.ts +++ b/src/Socket/messages-recv.ts @@ -637,7 +637,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => { ( // basically, we only want to know when a message from us has been delivered to/read by the other person // or another device of ours has read some messages - status > proto.WebMessageInfo.Status.DELIVERY_ACK || + status >= proto.WebMessageInfo.Status.SERVER_ACK || !isNodeFromMe ) ) { diff --git a/src/Utils/generics.ts b/src/Utils/generics.ts index bd094fd..9fb0c3b 100644 --- a/src/Utils/generics.ts +++ b/src/Utils/generics.ts @@ -316,6 +316,7 @@ export const generateMdTagPrefix = () => { } const STATUS_MAP: { [_: string]: proto.WebMessageInfo.Status } = { + 'sender': proto.WebMessageInfo.Status.SERVER_ACK, 'played': proto.WebMessageInfo.Status.PLAYED, 'read': proto.WebMessageInfo.Status.READ, 'read-self': proto.WebMessageInfo.Status.READ