Commit Graph

151 Commits

Author SHA1 Message Date
Adhiraj Singh
b329c73b20 feat: handle picture change events 2022-09-27 11:28:41 +05:30
Adhiraj Singh
da359aaee2 refactor: handle group stuff in a separate function 2022-09-27 10:51:38 +05:30
ponei
58b5df4d4b feat: add notification node type picture 2022-09-26 21:41:09 +05:30
Adhiraj Singh
952813d57a lint: resolve lint problems 2022-09-15 07:10:16 +05:30
Rahul Kasireddy
ea841426c0 Update messages-recv.ts 2022-09-13 14:25:23 +05:30
Rahul Kasireddy
d05f40b348 Update messages-recv.ts 2022-09-13 14:25:23 +05:30
Rahul Kasireddy
c113e683e7 Update messages-recv.ts 2022-09-13 14:25:23 +05:30
Rahul Kasireddy
ba3db3ee1a Update messages-recv.ts 2022-09-13 14:25:23 +05:30
Rahul Kasireddy
3164a8c597 Update messages-recv.ts 2022-09-13 14:25:23 +05:30
Rahul Kasireddy
25950f19cf Update messages-recv.ts 2022-09-13 14:25:23 +05:30
Rahul Kasireddy
570f5e5b86 Update messages-recv.ts 2022-09-13 14:25:23 +05:30
Rahul Kasireddy
749e293c6c added rejectCall function 2022-09-13 14:25:23 +05:30
Adhiraj Singh
31b54ec7c3 fix: include accountSignatureKey in retry requests 2022-08-07 18:10:28 +05:30
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