Commit Graph

331 Commits

Author SHA1 Message Date
ShellTear a21764250c Merge pull request #408 from WhiskeySockets/fix-lids
Fix incoming LID and sending LID
2023-12-18 19:01:40 +02:00
Rajeh Taher cbffb2941c fix: Fix linting 2023-12-18 16:43:28 +02:00
Bob ae8395e6df Update messages-recv.ts 2023-12-06 07:00:15 -03:00
azudin ed6b8a22e4 Update messages-recv.ts 2023-12-02 07:42:21 +08:00
azudin 4b3841d202 Update messages-recv.ts 2023-12-02 07:37:35 +08:00
Rajeh Taher 7cc604a9b5 share, receive, request, all you want 2023-10-01 21:43:00 +00:00
Rajeh Taher c1fa5a13c3 fix fromMe on receipts and messages, missing notifications ! 2023-10-01 14:56:09 +00:00
Rajeh Taher ef8d1a09fb support mesasge input from lid 2023-10-01 14:40:40 +00:00
aliazhar 11291e61d0 Fix: 'blocklist.update' was never emitted 2023-09-03 14:31:08 +07:00
Alessandro Autiero a7e39c18d9 Fixed infinite reconnection cycle 2023-07-16 21:20:21 +02:00
Alessandro Autiero c506182035 Finished requestPairingCode 2023-07-16 20:14:17 +02:00
Alessandro Autiero f498e1e56c Added requestPairingCode method and handler
Fixed typo (trimUndefineds)
Added bytesToCrockford
Replaced advSecretKey with advKeyPair
Added pairingCode prop
Fixed formatting
Added pairing code example
2023-07-16 18:44:17 +02:00
programadorbob c2d88fddc6 fix: Added jid of people who added to the group (#223)
Co-authored-by: DeveloperNewton <116108544+DeveloperNewton@users.noreply.github.com>
Co-authored-by: Edgard <edgardmessias@gmail.com>
2023-07-08 18:32:58 -03:00
SamuelScheit 65aa4a7d99 unify web + mobile and use tcp socket 2023-04-30 12:30:30 +02:00
Adhiraj Singh 5b2b037c76 chore: log full decrypt trace 2023-03-18 17:40:11 +05:30
Adhiraj Singh fe1d0649b5 feat: add signal repository + tests 2023-03-18 12:25:47 +05:30
Adhiraj Singh a4ecac788c feat: handle failed msgs 2023-03-09 16:12:40 +05:30
Adhiraj Singh 090c916f9f feat: define DEFAULT_CACHE_TTLS 2023-02-21 11:44:11 +05:30
Adhiraj Singh 5fb9f12b31 chore: use cache instead of permanent maps 2023-02-21 11:35:32 +05:30
Adhiraj Singh 4f27a2b3f4 feat: add "decodeMessageNode" util 2023-01-18 13:43:13 +05:30
Adhiraj Singh 572d0f1dd6 feat: implement tc token handling
TC token is required in certain cases to receive presence updates on chats
2022-12-11 15:48:26 +05:30
Adhiraj Singh 30e2cb5c4c refactor: impl counter based event buffer
1. counter based event buffer keeps track of the number of blocks that request event processing in buffer
2. event buffer only releases events when the last block completes (i.e. counter = 0)

this approach is far simpler than the promised based garbled crap I wrote, should also prevent the deadlock issues it introduced 🙏
2022-12-02 11:31:42 +05:30
Leonardo Bein 704aa1e434 feat: Add notification group: change inviteCode 2022-11-22 12:02:31 +05:30
Adhiraj Singh 01a641d3bd fix: decrypt race condition 2022-11-13 11:08:32 +05:30
Adhiraj Singh a58b73fba5 feat: allow ignoring jids 2022-11-11 09:31:49 +05:30
Adhiraj Singh 9e3c2082de fix: deadlock on processNodeWithBuffer 2022-11-07 17:21:32 +05:30
Adhiraj Singh 9c28dde04d chore: call processInBuffer for all msg handling 2022-10-18 16:57:40 +05:30
Adhiraj Singh a85698b201 feat: log updated disappearing mode 2022-10-13 17:36:46 +05:30
Adhiraj Singh 6663357a37 feat: handle default disappearing mode change notifications 2022-10-12 19:11:14 +05:30
Adhiraj Singh d0330d1863 refactor!: cleaner message history sync
This is a breaking change,
1. three events (chats.set, contacts.set, messages.set) are now just one `messaging-history.set` event
2. no need to debounce for app state sync
3. added a new "conditional" chat update to allow for correct app state sync despite not having the chat available on hand
2022-09-29 16:32:57 +05:30
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