Commit Graph

81 Commits

Author SHA1 Message Date
Adhiraj Singh
6cc5a910f7 Completely remove message-status-update & user-status-update 2021-01-04 14:19:44 +05:30
Edgard
0bf0ec6490 Added method to block/unblock user (close #233) 2020-12-14 16:05:57 -03:00
Adhiraj Singh
eb7b8506a9 Added support for sending + toggling disappearing messages 2020-12-12 00:21:11 +05:30
Adhiraj Singh
84edfe1ca0 Archive bug fix + Delete bug fix + assert deprecation update 2020-11-30 19:21:10 +05:30
Adhiraj Singh
7dc083b6e5 Update init method to try login multiple times + use WA ttl for QR gen 2020-11-26 17:08:18 +05:30
Adhiraj Singh
cd90d66c5e Update group docs 2020-11-22 22:00:23 +05:30
Adhiraj Singh
9f8f244b66 Added offline check for isOnWhatsApp 2020-11-20 12:50:14 +05:30
Adhiraj Singh
ba8b8c693a Download media from ephemeral messages 2020-11-19 00:26:17 +05:30
Adhiraj Singh
cea702b5a3 better presence handling via chat-update 2020-11-17 16:58:57 +05:30
Adhiraj Singh
6d02d405a7 Major redo with respect to chats/contacts -- read desc
Waiting for chats & contacts is hella unreliable, so I've put them as events
1. receive chats via the `chats-received` event. If new chats are found, the flag for that is sent as well
2. receive contacts via the `contacts-received` event
3. When WA sends older messages, the `chats-update` or `chat-update` event is triggered
4. Baileys keeps track of all the changed conversations between connects

Connects almost always take less than 10 seconds!
2020-11-13 23:15:16 +05:30
Adhiraj Singh
eace0c1795 Deprecated message-new & message-update + fix presence update for groups
The chat-update event is fired now when a message is received/updated
2020-11-13 16:07:08 +05:30
Adhiraj Singh
eaf56f6d71 group promote/demote event fix + archive fix + group events rework 2020-11-12 13:46:10 +05:30
Adhiraj Singh
f636cea26c Link Discord 2020-11-07 14:24:04 +05:30
Adhiraj Singh
442c03a05e Update isOnWhatsApp 2020-11-07 13:47:21 +05:30
Adhiraj Singh
75aa1f9d81 Chats not being received bug fix 2020-11-05 16:57:27 +05:30
Adhiraj Singh
69da12c33c handle tags via EventEmitter + replace 'intermediate-close' with 'ws-close' 2020-10-30 17:42:45 +05:30
Adhiraj Singh
cc722a5138 Callbacks via EventEmitter + possible memory leak fix 2020-10-28 16:10:28 +05:30
Adhiraj Singh
6391e37198 Change default connect options 2020-10-15 16:53:48 +05:30
Adhiraj Singh
4dde319256 Update README.md 2020-10-12 20:33:41 +05:30
Adhiraj Singh
210b467b68 Close before terminate + update presence on message receive 2020-10-11 23:08:48 +05:30
Adhiraj
0d13a15904 Handle updating of credentials 2020-10-02 14:19:04 +05:30
Adhiraj
30cee92758 PTT Audio + Automatic link preview generation + Minor changes 2020-09-22 22:50:29 +05:30
Adhiraj
f12f6fd90d added proxy support 2020-09-06 15:48:01 +05:30
Adhiraj
3d5b37fc44 compute chat deltas with connect 2020-09-03 18:25:43 +05:30
Adhiraj
33448690a4 audio tests 2020-09-03 10:25:00 +05:30
Adhiraj
218c9bcc18 Added function to change read status for chat, updated connect 2020-09-01 12:13:25 +05:30
Adhiraj
0af9f8fbe4 More reliable connect with automatic retries + default connect options 2020-08-31 14:39:21 +05:30
Adhiraj
d7e3312b1d Simpler chat modifications 2020-08-23 16:49:15 +05:30
Adhiraj
ea36aabb6c better connections 2020-08-22 17:46:41 +05:30
Adhiraj
a6c8fee814 Reconnect fixes 2020-08-19 16:06:20 +05:30
Adhiraj
95d2567e76 Initial V3.0 2020-08-19 14:19:30 +05:30
Adhiraj
002d304041 Got rid of WAClient, deprecated code. Prep for V3
Layered classes based on hierarchy as well.
2020-08-16 17:51:29 +05:30
Adhiraj Singh
c4ded039aa Update README.md 2020-08-11 13:37:15 +05:30
Adhiraj
b06f53401f Updates
-Removed unread messages while connecting
-Added KeyedDB integration
-pdf mimetype fix + mimetype can be string now
2020-07-31 17:32:15 +05:30
Adhiraj
5d15d27053 Forward messages + readme 2020-07-28 16:01:44 +05:30
13banda
c5da914b11 Update README.md
Correct generateNewQRCode function name
2020-07-27 11:52:30 +05:30
Adhiraj
d8d7e7dff8 DownloadAndSaveMedia 2020-07-22 12:29:52 +05:30
Adhiraj
7f2468efcf Change Profile Picture + Change Group Settings + Send Message to Oneself 2020-07-19 23:26:48 +05:30
Adhiraj
da73905b5e Depracations + Semantic Changes 2020-07-19 13:21:44 +05:30
Adhiraj
8ff7839071 Update README.md 2020-07-13 16:34:09 +05:30
Adhiraj
9f508184eb filename to messageoptions + group query + media query 2020-07-12 13:35:21 +05:30
Adhiraj
142a92cc49 Added within chat search + updated readme 2020-07-11 12:25:49 +05:30
Adhiraj
2a7d179822 Takeover conflict implementation 2020-07-10 12:44:31 +05:30
Adhiraj Singh
fae06e86ac Update README.md 2020-07-09 22:44:38 +05:30
Adhiraj Singh
3a1e59ed17 Read receipt fix + export proto 2020-07-09 15:22:25 +05:30
Adhiraj Singh
7a2a5e03a8 clearMessage & update on modifyChat & support for browser credentials 2020-07-09 13:00:36 +05:30
Adhiraj Singh
1c05c75cc8 Return messages with chats 2020-07-08 14:10:48 +05:30
Adhiraj Singh
9907f54bcd Update README.md 2020-07-08 12:44:25 +05:30
Adhiraj Singh
b9df538764 V2.1
Added features:
-search messages
-delete messages
-archive chats
-mark chats as unread

Fixes
-decoding audio/video messages
2020-07-08 12:38:51 +05:30
Adhiraj Singh
ed27472cc9 ID Validation + Full Stub Types 2020-07-07 13:05:19 +05:30