Commit Graph

270 Commits

Author SHA1 Message Date
HUGEIT 903871d180 potential fix for QR scan. the server may expect these messages to be sent on reconnect after scan (#959)
* potential fix for QR scan. the server may expect these messages to be sent on reconnect after scan.

* refactor: extract dictionary reduce code into utility

* refactor: convert the props + abt send req to somewhat useful query

Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com>
2021-12-03 18:40:26 +05:30
Adhiraj Singh d9cfed64ff fix: bad request on sending messages in some cases
Issue source found out by @jackcokk
2021-12-03 15:20:17 +05:30
Adhiraj Singh 6786576d13 style: fix indentation 2021-11-26 10:30:59 +05:30
Adhiraj Singh 3d0704a317 feat: cleaner auth state management
1. removes the "auth-state.update" event since it was bloated and fairly unnecessary
2. adds "creds.update" event that only sends the updated properties of the auth credentials
3. ensure the auth creds are not mutated anywhere, but only with the "creds.update" event
4. Separates the signal credentials from the auth credentials (kinda in progress)
5. in memory key store requires a save function to let one know when to save the keys

!BREAKING_CHANGE
2021-11-20 16:21:56 +05:30
lyfe00011 2641474c5a prepareWAMessageMedia option (#880) 2021-11-19 18:39:31 +05:30
Adhiraj Singh 3e54741042 feat: cache media uploads 2021-11-10 19:22:00 +05:30
Adhiraj Singh dee815448b feat: cache user devices 2021-11-07 19:51:14 +05:30
Adhiraj Singh 609c925225 fix: delivery receipts 2021-11-06 16:58:46 +05:30
Adhiraj Singh 5a33fd85a4 fix: read receipts 2021-11-06 15:41:49 +05:30
Adhiraj Singh d3b7ffecf2 code cleanup 2021-10-11 09:36:17 +05:30
Adhiraj Singh cacbaa37f2 exclude my device from message send 2021-10-09 19:29:10 +05:30
Adhiraj Singh e6bc1916c2 Update messages-send.ts 2021-10-05 19:09:23 +05:30
Adhiraj Singh 601c793fcd dont emit delete msg events 2021-10-05 17:56:57 +05:30
Adhiraj Singh 063803ae1b delete message fix 2021-10-05 15:51:14 +05:30
Adhiraj Singh e84002d807 add emitOwnEvents 2021-10-01 13:46:19 +05:30
Adhiraj Singh fdfe310fdf implement encrypting app patches 2021-09-28 19:22:39 +05:30
Adhiraj Singh 85d4644ac6 fix message not relayed to self 2021-09-27 12:52:42 +05:30
Adhiraj Singh a1aa17bc35 fix msg id override not being respected 2021-09-26 22:36:07 +05:30
Adhiraj Singh 192f8705a7 respect message ID 2021-09-26 18:04:53 +05:30
Adhiraj Singh f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30