Adhiraj Singh
d5b857ad61
fix: possible ack issue
2022-08-07 11:14:06 +05:30
Adhiraj Singh
2549d10be9
feat: update proto
...
The new proto extract has a bunch of breaking changes, so if you were using the raw proto in your code somewhere -- then you may have to update your code to make it work with the new proto
!BREAKING_CHANGE
2022-08-01 10:43:04 +05:30
Adhiraj Singh
7f7565b7a2
feat: move upsertMessage in processingMutex
2022-07-22 15:40:48 +05:30
Adhiraj Singh
fad63f1fd2
fix: do not send accountSignatureKey in retry
2022-07-19 21:30:18 +05:30
Adhiraj Singh
33851cdd55
feat: force include identity when enc is missing
2022-07-14 17:41:11 +05:30
Adhiraj Singh
4c60e311f4
feat: correctly send retry messages w count
2022-07-13 10:34:13 +05:30
Adhiraj Singh
f5af502c19
Revert "fix: always send key bundle with retry receipt"
...
This reverts commit 8fc1c10f0b .
2022-07-13 09:48:38 +05:30
Adhiraj Singh
8fc1c10f0b
fix: always send key bundle with retry receipt
2022-07-13 08:42:26 +05:30
Adhiraj Singh
40a1e268aa
feat: add "strictNullChecks"
2022-07-09 10:20:07 +05:30
Adhiraj Singh
f7b723f97b
feat: fire "receivedPendingNotifications" after flush
2022-07-04 16:52:38 +05:30
Adhiraj Singh
5cc58d4aed
feat: add bulk "process" capability to BaileysBufferableEventEmitter
2022-07-04 11:34:41 +05:30
Adhiraj Singh
7421f55daa
feat: implement event buffer for offline msgs
...
!BREAKING_CHANGE
1. this allows all offline notifications to be combined into a batch -- to reduce the number of events being sent out
2. to enable the above, the "message.reaction" event has been made an array. Also removes the need for the "operation" field
3. have also now started processing all events under a single queue to prevent state sync problems
2022-06-27 13:38:29 +05:30
Adhiraj Singh
4ff858ab82
chore: increase app state sync timeout
2022-06-24 11:53:01 +05:30
Adhiraj Singh
a75d9118bd
fix: only send receipt if participant present
2022-06-22 14:58:26 +05:30
Adhiraj Singh
721d0f32d6
feat: handle bad message acks + send retry to all correctly
2022-06-22 14:50:48 +05:30
Adhiraj Singh
bd6be89d57
fix: ack before sending retry receipt
2022-06-16 15:25:55 +05:30
Adhiraj Singh
349002857e
feat: use (participant, ID) tuple for retry counter
2022-06-16 15:25:31 +05:30
Adhiraj Singh
7b900c174d
chore: more logging
2022-06-15 13:55:23 +05:30
Adhiraj Singh
ae94e0ac38
fix: correctly handle devices & encrypt notif
2022-06-13 19:56:00 +05:30
Adhiraj Singh
5cb71ac862
feat: more accurately handle app state sync
2022-06-11 12:02:08 +05:30
Adhiraj Singh
5305730d82
feat: track history being stored
...
This is done because sometimes we receive history after the first connect too, and to ensure the "isLatest" flag is accurate -- we ensure no history was received previously
2022-06-07 21:18:51 +05:30
Adhiraj Singh
6824a203d0
feat: correctly handle presence being offline for receipts
...
When sendPresenceUpdate('unavailable') is called, it should allow notifications to be received on the phone
2022-06-01 13:20:21 +05:30
Adhiraj Singh
06ce5f9be0
feat: add media retry for MD
2022-06-01 13:04:45 +05:30
Adhiraj Singh
29bee92e79
fix: remove recipient from ack
2022-05-28 18:47:48 +05:30
Adhiraj Singh
2b5389239f
chore: better ack
2022-05-28 18:45:16 +05:30
Adhiraj Singh
5eca282d05
chore: remove likely redundant acks
2022-05-28 18:21:46 +05:30
Adhiraj Singh
4ea2c33cfa
fix: cleanMessage for reaction messages
2022-05-23 12:46:34 +05:30
Adhiraj Singh
ebec02908c
feat: add clean message util before calling "messages.upsert"
2022-05-23 12:32:43 +05:30
Adhiraj Singh
9a39a46398
feat: add toggle to download history
2022-05-22 17:23:30 +05:30
Adhiraj Singh
ae4aa67950
feat: handle call events
2022-05-09 15:00:53 +05:30
Adhiraj Singh
44a6ac3534
Merge branch 'master' into invalid-qr-patch
2022-04-22 18:20:17 +05:30
Adhiraj Singh
ac17225cf3
fix: use correct ID for retry recp
2022-04-20 13:20:05 +05:30
Adhiraj Singh
af7b2a5dd2
feat: limit number of message retries being sent
2022-04-20 13:10:53 +05:30
Adhiraj Singh
02265fd7f9
refactor: upload more pre-keys + use pure function
2022-04-13 00:02:10 +05:30
Adhiraj Singh
75c637cf6c
feat: remove need for "serverHasPreKeys"
2022-04-12 18:47:18 +05:30
Adhiraj Singh
0d94315776
feat: handle unarchiveChats setting
2022-04-07 11:29:57 +05:30
Adhiraj Singh
59f834ca39
fix: handle receipts more accurately
...
1. only send timestamp with read receipts
2. use unix timestamp in seconds instead of millis
3. use "sender" receipts for own messages
2022-04-03 11:27:13 +05:30
Adhiraj Singh
64bab02b7c
fix: patch proto sync receipts
2022-04-03 00:15:06 +05:30
Adhiraj Singh
f9ffb0f4c8
refactor: send history sync later
2022-04-03 00:14:34 +05:30
Adhiraj Singh
334f85f8c5
feat: handle "peer_msg" receipts
2022-04-02 15:45:09 +05:30
Adhiraj Singh
355b0664df
feat: handle encrypt notification
2022-04-02 13:37:10 +05:30
Adhiraj Singh
ced2f5d5ab
feat: debounced app state resync
2022-03-29 19:59:19 +05:30
Adhiraj Singh
cc7c895320
fix: export correct processMessage function
2022-03-29 18:25:04 +05:30
Adhiraj Singh
ec6e904db4
refactor: process sync actions out of socket
2022-03-29 14:16:51 +05:30
Adhiraj Singh
ab9b232838
refactor: move processMessage out of socket
2022-03-29 14:04:14 +05:30
Adhiraj Singh
bb9f233de4
chore: move ack of notification before processing
2022-03-29 13:41:25 +05:30
Adhiraj Singh
4bfb0e1343
chore: log when encountered unexpected connection close
2022-03-24 10:14:23 +05:30
Adhiraj Singh
8d7fde1bf4
feat: add delay between retry requests
2022-03-23 12:40:01 +05:30
Adhiraj Singh
b933970d51
fix: do not fire chat update for reactions
2022-03-23 12:39:11 +05:30
Ezequiel José Oliveira
f773a32da8
fix processMessage unexpected error ( #1401 )
2022-03-23 08:11:21 +05:30