Commit Graph

202 Commits

Author SHA1 Message Date
allburov b2d577409e Fix linter != to !== (#834) 2024-06-01 10:30:45 +03:00
ShellTear fdf614ea6e Update messages-recv.ts 2024-05-18 21:56:41 +03:00
Rajeh Taher 5ffa3a51b6 fix(master): linting and making functionality better 2024-05-18 12:56:44 +03:00
vini 51f18d82c2 fix shouldIgnoreJid not receiving app state keys (#792) 2024-05-18 12:52:36 +03:00
Codeboss 3b87d74f04 Fix pfp change notification (#323)
* Crash if chat is already deleted

* Crash if chat is already deleted (#321) (#322)

* Update messages-recv.ts

* Update make-in-memory-store.ts

* Update messages-recv.ts

* Update make-in-memory-store.ts

* Fix store errors

* Fix hash issue

* Fix eslint

* Update messages-recv.ts

* Update messages-recv.ts

* ESLint final

* no more eslint errors!
2024-04-28 13:44:53 +03:00
Rajeh Taher 9d2f9ed4e3 fix(missing messages): revert to normal (#732)
* revert to normal

* International community, please do not condemn me for this

* Update decode-wa-message.ts

* Update src/Utils/decode-wa-message.ts
2024-04-28 13:39:24 +03:00
Rajeh Taher 767af0b688 fix(retry): final commit: linting 2024-03-13 03:30:20 +02:00
Rajeh Taher 4d4dd58e06 thank lint 2024-03-12 23:58:36 +02:00
Rajeh Taher 99cd10b621 fix logic 2024-03-12 23:56:38 +02:00
Rajeh Taher b66b362512 Update src/Socket/messages-recv.ts 2024-03-12 23:53:23 +02:00
Rajeh Taher 9d3dcfd08b fix(missing-messages): linting fix 2024-03-12 20:17:39 +02:00
Rajeh Taher c264633291 fix(missing-messages): linting and bug 2024-03-12 07:25:45 +02:00
Rajeh Taher 8777f7fa70 fix ack 2024-03-12 06:23:56 +02:00
Rajeh Taher 087b8733fc Update messages-recv.ts 2024-03-12 06:16:17 +02:00
Alex Sandro 18990f874f feat: Add max msg retry count (#572) 2024-01-19 18:01:20 +02:00
Bob 3efd3e00ca feat: memberAddMode and joinApprovalMode in groups.update (#532)
* feat: memberAddMode and joinApprovalMode

* feat: memberAddMode and joinApprovalMode

* Update process-message.ts

* fix lint

* Update messages-recv.ts

* Update GroupMetadata.ts

* Update messages-recv.ts

* Update messages-recv.ts

* chore: fix linting and code efficiency

* fix lint

* Fix lint

* Update process-message.ts

* Update process-message.ts

---------

Co-authored-by: Bob <115008575+FortisEtMagnus@users.noreply.github.com>
Co-authored-by: Bob <115008575+bobpetrov@users.noreply.github.com>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-01-19 17:59:57 +02:00
Rajeh Taher 6eee7b9468 Merge branch 'master' into call 2024-01-01 01:04:23 +02:00
Rajeh Taher ca36f15059 Merge branch 'master' into patch-1 2024-01-01 01:02:48 +02:00
Bob c545ed628d fix conflict 2023-12-23 22:06:26 -03:00
Bob 04370b259d fix lint 2023-12-23 21:56:59 -03:00
Bob 745e36e603 fix lint 2023-12-23 21:55:53 -03:00
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