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
d2e3abfe49
fix: timestamp & other details not appearing + remove participant property from root message
2021-11-22 16:01:58 +05:30
Adhiraj Singh
d5e3d049c4
fix: add "offer" call ack
2021-11-22 00:16:22 +05:30
Adhiraj Singh
088bae44e8
fix: correctly map left group notification
2021-11-21 21:39:31 +05:30
Adhiraj Singh
27cf3954e8
fix: account for 0 messages in stanza
2021-11-21 16:52:59 +05:30
Adhiraj Singh
1cd96ad039
fix: incorrect group owner
2021-11-21 16:10:38 +05:30
Adhiraj Singh
d523bf8981
feat: detect when multi-device beta not joined
2021-11-20 17:20:06 +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
c2c27a5dea
fix: experimental patch to correctly identify end of offline notifications
2021-11-20 13:39:56 +05:30
Adhiraj Singh
7d174ca77b
fix: "receivedPendingNotifications" not firing on zero offline notifications
2021-11-19 22:00:37 +05:30
Adhiraj Singh
49da0e4e71
fix: remove "connection.update" listener from ev instead of ws
2021-11-19 21:47:51 +05:30
Adhiraj Singh
3adeb2ed6b
chore: use interface instead of full type in auth
2021-11-19 21:46:48 +05:30
yanun
3590c1f569
Update README.md ( #879 )
2021-11-19 18:40:34 +05:30
lyfe00011
2641474c5a
prepareWAMessageMedia option ( #880 )
2021-11-19 18:39:31 +05:30
Adhiraj Singh
72889551b9
feat: resync main app state on new key
2021-11-19 17:43:14 +05:30
Adhiraj Singh
79100a3164
feat: export resyncmainappstate
2021-11-19 17:41:57 +05:30
Adhiraj Singh
9f196663e8
fix: logout error when not logged in
2021-11-19 16:25:17 +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
40280d777d
chore: update WA version
2021-11-17 15:44:22 +05:30
Adhiraj Singh
dac5a63ff9
fix: ack for participants on MD
2021-11-16 16:21:56 +05:30
Adhiraj Singh
cff2b1427a
fix: prevent duplicate receipts on multiple messages recv in stanza
2021-11-16 10:09:03 +05:30
Adhiraj Singh
e142f0b76e
fix: empty messages upsert event on history sync
2021-11-16 10:08:22 +05:30
BochilGaming
823701a9c7
Add groupRevokeInvite, groupAcceptInvite and fix groupLeave ( #860 )
...
* Update groups.ts
* Fix: error TS2448: Block-scoped variable 'result' used before its declaration.
2021-11-15 12:44:43 +05:30
Adhiraj Singh
9ed4c28b8e
fix: minor retry logic cleanup
2021-11-15 09:09:55 +05:30
Adhiraj Singh
2dfe5adbe1
feat: push failed decryption messages as "CIPHERTEXT"
2021-11-15 09:09:20 +05:30
Adhiraj Singh
44059059d9
fix: remove need for firstQR in socket
2021-11-15 09:07:39 +05:30
Adhiraj Singh
8ae1cae5b2
chore: cleaner example file
2021-11-15 08:22:58 +05:30
azudin
e250560088
Update README.md ( #816 )
2021-11-15 08:14:55 +05:30
Diego Araujo
bbf5bc96cc
Fix retry receipt, fix assertingPreKeys, uploadPreKeys to 30, generate QR timeout and update example ( #833 )
...
* update example
* fix assertingPreKeys, uploadPreKeys to 30, generate QR timeout, sendRetryReceipt fix
* update example, change clear qr to event connection.update
* update example
* firstQR flag
* change checkConnection qr
* update example
* remove semis
* update example
2021-11-15 08:11:39 +05:30
Ilya Borodin
ae80566c0e
Group update description ( #859 )
...
* Added groupUpdateDescription
* Updated README
Co-authored-by: Ilya Borodin <ilya.borodin@botconversa.com.br >
2021-11-15 08:09:10 +05:30
Adhiraj Singh
b1eab17409
temp: comment out account sync
...
Not sure if this is correctly implemented
2021-11-11 15:21:51 +05:30
Adhiraj Singh
7b5bb1f428
style: use sendMessageAck in recv notification
2021-11-11 15:14:42 +05:30
Adhiraj Singh
71664756dd
style: use getAllBinaryNodeChildren
2021-11-11 11:29:12 +05:30
Adhiraj Singh
d8c8d46adb
feat: implement call ack
2021-11-11 11:24:10 +05:30
Adhiraj Singh
05b3095bfd
fix: message ack on group messages
2021-11-11 09:43:10 +05:30
Adhiraj Singh
469f3451d2
feat: catch groups create notification
2021-11-10 19:46:25 +05:30
Adhiraj Singh
3e54741042
feat: cache media uploads
2021-11-10 19:22:00 +05:30
Adhiraj Singh
cfa7e8ec66
fix: possible ack fix
2021-11-09 13:40:59 +05:30
Adhiraj Singh
cd59b8fc97
fix: extract msg content correctly
2021-11-09 00:09:50 +05:30
Adhiraj Singh
5120f1d1e4
fix: ack receipts
2021-11-08 22:58:03 +05:30
Adhiraj Singh
4edfc7531b
fix: possibly more accurate receipts
2021-11-08 21:51:06 +05:30
Adhiraj Singh
070722fcac
fix: log failed app syncs
2021-11-08 21:47:49 +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
3c6edde1d6
fix: listen to all failure messages
2021-11-08 13:22:25 +05:30
Adhiraj Singh
85574d1d79
Revert "fix: remove redundant collectionSync"
...
This reverts commit e547d85f98 .
2021-11-08 00:18:59 +05:30
Adhiraj Singh
6eaed69470
fix: remove blocklist console log
2021-11-08 00:18:40 +05:30
Adhiraj Singh
d796b286a6
feat: implement account sync
2021-11-08 00:18:29 +05:30
Adhiraj Singh
56c17ce0d1
feat: implement stream:error events
2021-11-08 00:18:12 +05:30