Commit Graph

225 Commits

Author SHA1 Message Date
fadiinho
bd98b13895 fix: reaction message doesn't appear when send to a group (#1700)
* fix: reaction message doesn't appear when send to a group

* use undefined instead of null
2022-06-13 20:15:56 +05:30
Dwi Rizqi
e7087cabf5 fix: Delete Message For Me (#1718)
* Add Timestamp for deleteMessageForMe

* Fix Typo Readme

* Add Timestamp for deleteMessageForMe

* fix: Typo type timestamp
2022-06-13 20:13:52 +05:30
Adhiraj Singh
32fadda86a feat: add button reply 2022-06-13 16:22:28 +05:30
Adhiraj Singh
b125638253 fix: add missing "isLatest" flag 2022-06-13 12:53:20 +05:30
Adhiraj Singh
f87f89329b perf: avoid excess memory usage when syncing state 2022-06-11 20:25:57 +05:30
Adhiraj Singh
a0548fbc4c fix: add more escape chars for multi file auth state 2022-06-11 19:30:48 +05:30
Adhiraj Singh
5cb71ac862 feat: more accurately handle app state sync 2022-06-11 12:02:08 +05:30
Adhiraj Singh
79518787b6 feat: prevent urlInfo gen 2022-06-10 09:52:36 +05:30
Adhiraj Singh
0ff6e1b571 chore: log more info when uploading media 2022-06-10 09:30:31 +05:30
Adhiraj Singh
be535f0a34 fix: give preview even if thumbnail gen fails 2022-06-09 15:07:04 +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
Naif Alharbi
0daab87d7f Fix status@broadcast file name (#1696)
user-multi-file-auth-state fails to write/read status@broadcast files because they have a colon.
To fix it, we replaced the colon with a dash.
This might solve the issues below
https://github.com/adiwajshing/Baileys/issues/1589#issue-1229804957
https://github.com/adiwajshing/Baileys/issues/1693#issue-1260676356
2022-06-05 17:20:16 +05:30
Adhiraj Singh
6f48bbb736 chore: make transaction logs trace 2022-06-05 13:59:51 +05:30
Adhiraj Singh
cafc707628 feat: add option to reupload in downloadMediaMessage 2022-06-01 13:19:05 +05:30
Adhiraj Singh
06ce5f9be0 feat: add media retry for MD 2022-06-01 13:04:45 +05:30
Adhiraj Singh
4c51800b09 feat: add "assertMediaContent" util 2022-06-01 13:02:05 +05:30
Adhiraj Singh
f2ef5ff1d4 refactor: create generic "bindWaitForEvent" for baileys event emitter 2022-06-01 13:01:26 +05:30
Adhiraj Singh
436cdc84f0 refactor: move GCM decrypt/encrypt to separate util 2022-06-01 12:59:36 +05:30
Adhiraj Singh
15761ca9df chore: more modular link preview generation 2022-05-27 13:30:37 +05:30
Adhiraj Singh
ef71b7e09d chore: remove data in multifileauthstate too 2022-05-25 12:14:37 +05:30
Adhiraj Singh
24a2b4150a fix: appstatesyncdata in multifileauthstate 2022-05-25 12:14:17 +05:30
Adhiraj Singh
59652a5368 feat: handle chat deletes + message stars 2022-05-25 12:12:17 +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
06437e182d feat: add "multi file auth state" implementation
1. add multi file auth state since it's far more efficient than single state
2. deprecate single file auth state (please don't use it anymore)
2022-05-22 21:21:35 +05:30
Adhiraj Singh
a8e209705a feat: add retry capability to SignalKeyStore 2022-05-22 20:52:21 +05:30
Adhiraj Singh
c5d488f1c6 docs: add info about addTransactionCapability 2022-05-22 20:41:00 +05:30
Adhiraj Singh
9a39a46398 feat: add toggle to download history 2022-05-22 17:23:30 +05:30
Adhiraj Singh
46f309929b feat: message reaction fix from other party 2022-05-11 17:50:04 +05:30
Adhiraj Singh
bf8ff6d253 fix: readonly chats on sync 2022-05-09 16:03:53 +05:30
Adhiraj Singh
6e0ac6899c feat: move conversation up when missed call 2022-05-09 15:19:05 +05:30
Adhiraj Singh
ae4aa67950 feat: handle call events 2022-05-09 15:00:53 +05:30
Adhiraj Singh
4a8c6ed66d fix: correctly generate quoted msgs 2022-04-30 17:40:08 +05:30
burstfreeze
767120a555 fix: undefined on unpin action (#1551) 2022-04-29 18:32:37 +05:30
Ilya Borodin
2228da3b08 Preview link fix (#1548)
* Preview link fix

* Preview link refactor

* Deleted empty line

* Redundant unnecessary changes

* Added checker for http/https prefix in link

Co-authored-by: Ilya Borodin <ilya.borodin@botconversa.com.br>
2022-04-29 18:32:13 +05:30
Adhiraj Singh
6ee60bff67 chore: add ability to specify ISyncActionMessageRange directly 2022-04-28 16:26:23 +05:30
Adhiraj Singh
87c1a04503 feat: add more sanity checks to chat patch 2022-04-28 15:49:02 +05:30
Adhiraj Singh
dba6d2e0cb fix: do not throw error on conditions not matching in lastMessage check 2022-04-28 15:24:10 +05:30
Adhiraj Singh
47ab32f314 chore: update noise_version to 6 2022-04-25 23:15:22 +05:30
Adhiraj Singh
fd9daf8ad3 refactor: remove redundant stream:error handling 2022-04-25 13:27:25 +05:30
Adhiraj Singh
211a899ed4 feat: handle stream:errors more gracefully 2022-04-25 09:11:03 +05:30
Adhiraj Singh
3c278b35f0 fix: add legacy constants for decoding 2022-04-24 16:49:13 +05:30
Adhiraj Singh
a7e9dcf512 chore: revert osVersion to match wa web 2022-04-24 12:24:37 +05:30
Adhiraj Singh
3bd231b37a Merge pull request #1530 from adiwajshing/invalid-qr-patch
Invalid QR Patch
2022-04-24 09:56:28 +05:30
LyFE
2e18d83f03 fix groupParticipantUpdate (#1527) 2022-04-24 00:55:08 +05:30
Adhiraj Singh
40abd71d2e fix: curve verification return boolean 2022-04-23 17:46:59 +05:30
Adhiraj Singh
5e41d3d284 chore: use 16 bit integer for tag 2022-04-23 12:45:27 +05:30
Adhiraj Singh
b3937b8852 chore: add logging to NS 2022-04-23 11:55:31 +05:30
Adhiraj Singh
39828d1e57 Merge branch 'master' into invalid-qr-patch 2022-04-22 20:05:26 +05:30
Adhiraj Singh
68a6f34cde feat: add timeoutMs to link preview 2022-04-22 20:05:17 +05:30