Commit Graph

1098 Commits

Author SHA1 Message Date
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
631bb2ad69 chore: do not lint proto 2022-06-11 12:02:20 +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
cea9e9da8a fix: typeerror on patch 2022-06-08 22:56:09 +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
ea8b580db8 chore: ts-node update 2022-06-07 21:14:33 +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
Paulo Corcino
b78ffe029a Update README.md (#1698)
Fix README.md with reference of constant 'saveCreds' correct on 'creds.update' event.
2022-06-05 17:19:45 +05:30
Adhiraj Singh
b7d8401f62 feat: put entire mutation in transaction 2022-06-05 14:00:09 +05:30
Adhiraj Singh
6f48bbb736 chore: make transaction logs trace 2022-06-05 13:59:51 +05:30
Adhiraj Singh
06fdf5fdac chore: update packages 2022-06-03 11:13:08 +05:30
dependabot[bot]
47ef2b873e chore(deps-dev): bump sharp from 0.29.3 to 0.30.5 (#1686)
Bumps [sharp](https://github.com/lovell/sharp) from 0.29.3 to 0.30.5.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.29.3...v0.30.5)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 11:07:03 +05:30
Adhiraj Singh
3b43153e92 fix: send unavailable if markOnlineOnConnect=false 2022-06-01 19:13:12 +05:30
Adhiraj Singh
82e2ec79d3 chore: add media update logging 2022-06-01 15:35:36 +05:30
Adhiraj Singh
2b12defe6b chore: parity between MD & legacy 2022-06-01 13:40:40 +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
cafc707628 feat: add option to reupload in downloadMediaMessage 2022-06-01 13:19:05 +05:30
Adhiraj Singh
f62898dee7 fix: emit messages.update on successful reupload 2022-06-01 13:18:37 +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
00cbe0f95d chore: update node types to v16 2022-06-01 12:59:58 +05:30
Adhiraj Singh
436cdc84f0 refactor: move GCM decrypt/encrypt to separate util 2022-06-01 12:59:36 +05:30
Adhiraj Singh
26b286c98c chore: use Boom for WS errors 2022-05-31 21:36:11 +05:30
Adhiraj Singh
9c3cb7c940 lint: legacy chats 2022-05-31 16:01:04 +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
8f8dba9344 fix: yarn lock 2022-05-28 18:27:02 +05:30
Adhiraj Singh
5eca282d05 chore: remove likely redundant acks 2022-05-28 18:21:46 +05:30
Hanz
bf5d86366e chore: fixed semver conflict on @types/jest (#1668)
@types/jest"^27.0.0" required by ts-jest@27.1.5
2022-05-28 17:54:38 +05:30
Adhiraj Singh
0df94e9feb chore: update version 2022-05-28 15:02:01 +05:30
Adhiraj Singh
60aafded3e chore: remove redundant comment 2022-05-28 00:22:34 +05:30
Adhiraj Singh
07f1f8c043 chore: use query to prevent redundant logs 2022-05-28 00:22:25 +05:30
Adhiraj Singh
15761ca9df chore: more modular link preview generation 2022-05-27 13:30:37 +05:30
Adhiraj Singh
3eeded66b2 chore: update lock 2022-05-25 12:40:14 +05:30
Adhiraj Singh
bb47024f20 chore: update lock 2022-05-25 12:14:43 +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
ed557967d1 chore: make "auth" mandatory in SocketConfig 2022-05-25 12:13:17 +05:30
Adhiraj Singh
59652a5368 feat: handle chat deletes + message stars 2022-05-25 12:12:17 +05:30
Adhiraj Singh
515dbaf476 chore: update ts-node 2022-05-25 12:11:14 +05:30
P
44834d29fa update profile pic in legacy version (#1611)
Co-authored-by: Henrique <qplok02@gmail.com>
2022-05-23 13:25:31 +05:30
Daniel Cardenas
4c95f8f0c5 Update README.md (#1652) 2022-05-23 13:22:54 +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
e131b7c4d3 feat: pass cachedGroupMetadata from sendMessage 2022-05-23 11:32:51 +05:30