Commit Graph

11 Commits

Author SHA1 Message Date
Adhiraj Singh
59f834ca39 fix: handle receipts more accurately
1. only send timestamp with read receipts
2. use unix timestamp in seconds instead of millis
3. use "sender" receipts for own messages
2022-04-03 11:27:13 +05:30
Adhiraj Singh
334f85f8c5 feat: handle "peer_msg" receipts 2022-04-02 15:45:09 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
913b38493c fix: throw error if no decrypt-able message found 2022-02-17 10:32:51 +05:30
Adhiraj Singh
1f2a6641f3 feat: mutex processing in a chat to preserve order of events 2022-01-22 14:07:06 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh
67f3ddeaff chore: remove null status from not fromMe msgs 2022-01-07 21:24:29 +05:30
Adhiraj Singh
6c08f0cd76 fix: incorrect from me 2022-01-07 21:15:27 +05:30
Adhiraj Singh
6a2cb5a413 refactor: message decoding
1. removes redundant receipt (was exactly the same as delivery receipt without the timestamp)
2. decodeWAMessage now returns a proper message struct
3. each message stanza results in exactly one message decoded
2022-01-07 00:04:17 +05:30
Adhiraj Singh
f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30
Adhiraj Singh
89cf8004e9 Wrap up connection + in memory store 2021-07-09 20:35:07 +05:30