Commit Graph

867 Commits

Author SHA1 Message Date
4l3dx
084c39ca73 fix: add missing isAnimated flag (#1767) 2022-06-22 10:44:16 +05:30
LUA
aade0a20b2 chore: update version (#1774)
https://web.whatsapp.com/check-update?version=1&platform=web
updated to latest version.
2022-06-22 10:40:53 +05:30
Adhiraj Singh
24dd76771e fix: correctly extract media content 2022-06-21 13:56:21 +05:30
Lucas Maia
51e5572f82 Update group.js (#1758)
Set status 200 as string, to standardize responses.
2022-06-20 15:44:24 +05:30
LightningNeko
27f53bfa51 fix: xml-not-well-formed on +255 size lists (#1762) 2022-06-20 15:43:53 +05:30
Adhiraj Singh
6c4f63237f fix: better WS error map 2022-06-20 15:18:04 +05:30
Adhiraj Singh
cacc1ce130 feat: implement "groupAcceptInviteV4" add participant msg 2022-06-19 15:33:28 +05:30
Adhiraj Singh
4ad0683e0c chore: remove redundant pre-fetch 2022-06-17 13:37:49 +05:30
Adhiraj Singh
7863c0e4c2 perf: nicer "shouldIncludeDeviceIdentity" flag computation 2022-06-17 13:16:41 +05:30
Adhiraj Singh
399b4d3cb8 feat: add "device_fanout" flag for retry receipt 2022-06-17 13:16:22 +05:30
Adhiraj Singh
23acc1fb39 feat: extract code from WS error 2022-06-16 20:43:51 +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
1dc5d4eae0 fix: do not add "reason: identity" for details fetch 2022-06-16 14:56:06 +05:30
Adhiraj Singh
e9f494ec5d feat: more efficient message send 2022-06-16 14:53:23 +05:30
Adhiraj Singh
ecd8f74800 chore: logging in transaction 2022-06-16 14:47:57 +05:30
Adhiraj Singh
f44335db8d chore: better error for recipient error 2022-06-15 15:05:58 +05:30
Adhiraj Singh
442489faae fix: correctly respond to retry requests 2022-06-15 15:05:43 +05:30
Adhiraj Singh
7b900c174d chore: more logging 2022-06-15 13:55:23 +05:30
LeonardoBein
227cab2f95 feat: Returns an object with information about the invite code's group (#1562)
* feat: Returns an object with information about the invite code's group

* refactor: more information in metadata group
2022-06-13 20:34:01 +05:30
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
Wender Teixeira
c22b4c9c89 chore: update version (#1734)
https://web.whatsapp.com/check-update?version=1&platform=web
updated to latest version.
2022-06-13 20:13:00 +05:30
Adhiraj Singh
ae94e0ac38 fix: correctly handle devices & encrypt notif 2022-06-13 19:56:00 +05:30
Adhiraj Singh
07f0ff86e8 chore: update group invite docs 2022-06-13 19:55:37 +05:30
Adhiraj Singh
32fadda86a feat: add button reply 2022-06-13 16:22:28 +05:30
Adhiraj Singh
7b3fd7c3c5 fix: tsc error in legacy version 2022-06-13 12:57:01 +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
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
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
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
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
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