Adhiraj Singh
13b0da0954
fix: catch unexpected errors on MD
2022-03-15 12:34:52 +05:30
Adhiraj Singh
e93e6e2656
fix: only sync app state on one batch of history
2022-03-07 18:18:21 +05:30
Adhiraj Singh
9ca46635d6
fix: correctly parse protocol message
2022-03-07 15:38:52 +05:30
Adhiraj Singh
d6065015e6
chore: move messages-recv utils to the bottom of file
2022-03-07 09:07:38 +05:30
Adhiraj Singh
a8a0c701ae
chore: add participant to msg body for notifications
2022-03-02 13:14:12 +05:30
Adhiraj Singh
3d56d610ae
fix: redundant array
2022-03-02 00:06:56 +05:30
Adhiraj Singh
de7d1002a9
lint: stricter linting rules
2022-03-01 16:32:14 +05:30
Adhiraj Singh
73527ff5dd
chore: lint
2022-02-08 11:02:19 +05:30
HUGEIT
df1e400e03
sendRetryRequest ("Waiting for this message") wrapped in mutex call to avoid crash in #1152
2022-01-25 13:54:42 +01:00
Adhiraj Singh
1f2a6641f3
feat: mutex processing in a chat to preserve order of events
2022-01-22 14:07:06 +05:30
Adhiraj Singh
a06f639774
fix: self read receipt on groups
2022-01-22 12:19:00 +05:30
Adhiraj Singh
57d6ab62a1
feat: use message receipt on MD
2022-01-22 11:37:26 +05:30
Adhiraj Singh
8f11f0be76
chore: add linting
2022-01-19 15:54:02 +05:30
Adhiraj Singh
4112c68556
feat: expose sendRetryRequest
2022-01-16 15:33:26 +05:30
Adhiraj Singh
7bb6e3ceeb
refactor: chats.set event
2022-01-16 13:02:38 +05:30
Adhiraj Singh
793b23cb21
refactor: history processing
...
1. fixes issue when some chats/messages are not synced
2. adds info about whether the history chunk is the latest
2022-01-16 12:51:08 +05:30
Adhiraj Singh
5febb86e14
fix: message delete not reflecting correctly for others
2022-01-08 23:01:55 +05:30
Adhiraj Singh
a0003f0fe9
fix: read receipts not being available
2022-01-07 21:24:46 +05:30
Adhiraj Singh
da65ae8f42
fix: do not update chat + contact on prepend messages
2022-01-07 13:55:26 +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
7ffa10a5c5
fix: delivery receipt
2022-01-06 15:11:33 +05:30
rafaelwedbiz
3534221e11
Fix Played Status (message update event) ( #1089 )
...
* Fix Played Status
* Update messages-recv.ts
Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com >
2021-12-29 12:00:35 +05:30
Adhiraj Singh
677f50baaa
feat: add contacts to chats.set event
2021-12-20 13:59:04 +05:30
Adhiraj Singh
ef1b01b6df
fix: correctly handle retry from own devices
2021-12-14 00:31:29 +05:30
Adhiraj Singh
2b8256d56b
feat: cleaner auth state management + store SK keys
...
!BREAKING_CHANGE
2021-12-11 17:54:38 +05:30
Adhiraj Singh
2b33a5202c
fix: do not retry not fromMe
2021-12-11 10:08:53 +05:30
Adhiraj Singh
7db5bb5d9a
chore: do not throw unhandled error on send messages again, log error
2021-12-10 13:15:02 +05:30
Adhiraj Singh
49e7ad4b25
fix: typeerror on some group create
2021-12-07 22:09:18 +05:30
LightningNeko
7e414a940b
fix group announce and restrict always false ( #971 )
...
* fix group announce and restrict always false
* refactor: make group setting change params in line with WA
Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com >
2021-12-06 08:53:12 +05:30
Adhiraj Singh
cccd9305a2
fix: do not throw error on missing message for retry
2021-12-05 18:05:47 +05:30
Adhiraj Singh
78fd72c8e5
feat: implement message retry handling
...
so if a message fails to decrypt on the other user's end -- it can be retried
2021-12-04 13:47:24 +05:30
Adhiraj Singh
b9d37a06a3
fix: incorrect updates being forwarded to messages.update
2021-11-26 10:31:46 +05:30
Adhiraj Singh
1f8663092f
fix: receipt not being sent on empty message
2021-11-25 15:41:34 +05:30
Adhiraj Singh
09b3815d89
fix: handle case with 0 app state sync keys
2021-11-25 13:42:58 +05:30
Adhiraj Singh
396e1d2e95
cleanup: remove redundant sync key request handler
2021-11-25 13:42:44 +05:30
Adhiraj Singh
669fcaa438
fix: ack all calls
2021-11-25 12:23:12 +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
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
72889551b9
feat: resync main app state on new key
2021-11-19 17:43:14 +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
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
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