Adhiraj Singh
ddf6daba65
feat: implement pin chat modification
2021-11-25 13:37:05 +05:30
Adhiraj Singh
b3e0f26ec0
fix: typeerror on no messages provided
2021-11-25 13:37:05 +05:30
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
13ef870f3e
style: remove useless variable in messages
2021-11-24 15:36:25 +05:30
Adhiraj Singh
3173e0d034
fix: media cache throwing error
2021-11-24 15:35:43 +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
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
Adhiraj Singh
bb5f13d188
fix: mutex app state sync to prevent race conditions that log connection out
2021-11-18 11:30:35 +05:30
Adhiraj Singh
71664756dd
style: use getAllBinaryNodeChildren
2021-11-11 11:29:12 +05:30
Adhiraj Singh
3e54741042
feat: cache media uploads
2021-11-10 19:22:00 +05:30
Adhiraj Singh
cd59b8fc97
fix: extract msg content correctly
2021-11-09 00:09:50 +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
dee815448b
feat: cache user devices
2021-11-07 19:51:14 +05:30
Adhiraj Singh
ba502f0436
chore: more descriptive LTHash error
2021-11-07 19:07:36 +05:30
Adhiraj Singh
3f6bd2ad84
update libsignal + no dependency on proto files + no native deps
2021-10-13 17:42:48 +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
3202bae225
buttons msg fix
2021-10-05 09:47:35 +05:30
Adhiraj Singh
173d1ddf8b
implement chat modifications
2021-09-29 12:31:22 +05:30
Adhiraj Singh
8b3627742e
update toNumber impl
2021-09-29 12:31:06 +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
Adhiraj Singh
9993de8340
urlInfo fix
2021-09-09 17:21:11 +05:30
Adhiraj Singh
546cffcad2
make jimp dynamic import
2021-08-27 16:38:55 +05:30
Adhiraj Singh
e66e29f472
add extractMessageContent
2021-08-26 20:44:27 +05:30
Adhiraj Singh
48f477e0c1
thumb generation fixes
2021-08-22 15:48:50 +05:30
Adhiraj Singh
b0699a1be9
button message headertype fix
2021-08-22 15:35:16 +05:30
Adhiraj Singh
acc551a3f1
add media cache option
2021-08-22 14:30:48 +05:30
Adhiraj Singh
3a914d6987
toNumber fix
2021-08-18 15:20:36 +05:30
Adhiraj Singh
96cd3b985e
add image+video+sticker dimensions
2021-08-15 13:19:54 +05:30
Adhiraj Singh
15f759a52b
include media fix from @saviosg
2021-08-15 13:16:03 +05:30
Adhiraj Singh
f8c5394705
sticker media fix
2021-08-09 19:57:56 +05:30
Adhiraj Singh
75c15e7767
generic media uploads
2021-08-06 18:41:07 +05:30
Adhiraj Singh
0a746b9f53
add viewOnce + buttons
2021-08-06 11:55:09 +05:30
Adhiraj Singh
39a6d804e1
group disappearing messages fix + state maintain
2021-08-04 17:19:28 +05:30
Adhiraj Singh
9ea23a2d12
bug fixes
2021-07-17 00:23:07 +05:30
Adhiraj Singh
f356fa1811
minor bug fixes
2021-07-16 01:55:04 +05:30
Adhiraj Singh
71e34fc5f8
Cleanup + add remaining utils
2021-07-12 23:50:08 +05:30
Adhiraj Singh
89cf8004e9
Wrap up connection + in memory store
2021-07-09 20:35:07 +05:30
Adhiraj Singh
5be4a9cc2c
remove all files
2021-07-07 23:20:11 +05:30