Commit Graph

17 Commits

Author SHA1 Message Date
Adhiraj Singh 99619c4c42 refactor: less code duplication for timestamp 2021-11-25 13:37:05 +05:30
Adhiraj Singh 25f76b2f66 refactor: more specific arguments for encode patch 2021-11-25 13:37:05 +05:30
Adhiraj Singh 7b42fa5a54 fix: correct operation type on chat patch 2021-11-25 00:37:44 +05:30
Adhiraj Singh efc7dffbeb refactor: cleaner & faster app state sync management
1. Is orders of magnitude faster than the previous edition
2. Stores lesser data, so more memory efficient
3. This breaks the current app state in baileys, but baileys will auto-resync & update the state
2021-11-24 20:04:36 +05:30
Adhiraj Singh 920e60815b feat: add newLTHashState util 2021-11-24 20:02:36 +05:30
Adhiraj Singh 983b28ba0e feat: implement "snapshot" resyncing 2021-11-24 18:48:00 +05:30
Adhiraj Singh b4332488b8 fix: LT hash computation failing
Was trying to remove a patch that was already removed, adding a check to ensure to only remove patches that are of the SET type
2021-11-23 12:23:25 +05:30
Adhiraj Singh e222ec4151 refactor: use only "getAppStateSyncKey" in syncd patch 2021-11-23 12:17:57 +05:30
Adhiraj Singh ba453a588b feat: implement external patch parsing + app state sync on login 2021-11-08 15:07:25 +05:30
Adhiraj Singh ba502f0436 chore: more descriptive LTHash error 2021-11-07 19:07:36 +05:30
Adhiraj Singh d3b7ffecf2 code cleanup 2021-10-11 09:36:17 +05:30
Adhiraj Singh 173d1ddf8b implement chat modifications 2021-09-29 12:31:22 +05:30
Adhiraj Singh 1a83a4c6d4 nicer patch API 2021-09-28 19:33:21 +05:30
Adhiraj Singh fdfe310fdf implement encrypting app patches 2021-09-28 19:22:39 +05:30
Adhiraj Singh 23101f87a1 move appstatesynckey to keys 2021-09-26 12:35:56 +05:30
Adhiraj Singh f1527a9f6b separate out crypto utils 2021-09-23 22:37:33 +05:30
Adhiraj Singh f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30