Adhiraj Singh
efe6bf1dd3
Cleaner code. Remove credentials-updated & connection-validated as they became obsolete
...
`credentials-updated` & `connection-validated` became obsolete as they are equivalent to `open`
2021-01-04 17:07:51 +05:30
Adhiraj Singh
ac4b4c7384
Removed deprecations + merge message-status-update into chat-update
...
1. Update package version to 4.0.0
2. Retry query if the connection unexpectedly closes + make query iterative instead of recursive
3. Remove message-new & message-update deprecations
4. Deprecate loadProfilePicturesForChatsAutomatically
2021-01-04 12:35:48 +05:30
Adhiraj Singh
100c8fd96d
Add more contact-update + better phone check
2020-12-30 11:26:46 +05:30
Edgard Lorraine Messias
cc358942dd
Merge branch 'master' into feat_pushname
2020-12-29 13:18:46 -03:00
Dmitry Sadovsky
165451d752
Added option for forcing message id
2020-12-28 13:41:27 +03:00
Edgard Messias
14bf3a441a
Added method to update the profile name
2020-12-18 16:10:05 -03:00
Adhiraj Singh
3288846380
Merge pull request #279 from edgardmessias/feat_clear_chat
...
Added method to clear chat and star/unstar message
2020-12-18 17:40:50 +05:30
Edgard
5a7077c675
Added method to clear chat and star/unstar message
2020-12-16 13:58:24 -03:00
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
caf82a46a8
Indexing change + missing messages detection
2020-12-08 18:06:20 +05:30
Adhiraj Singh
95aedba87f
Group participants now derive from WAContact
2020-12-06 14:29:48 +05:30
Adhiraj Singh
6d7dc4d9fe
Manage group metdata state in Baileys + Remove presence from Contact
2020-12-03 13:16:37 +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
242328abdc
Presence fixes
2020-11-24 18:56:07 +05:30
Adhiraj Singh
c69d3832de
Add WAChatUpdate
2020-11-18 23:41:51 +05:30
Adhiraj Singh
abde6563c9
Support decoding disappearing messages + events bug fix
2020-11-18 23:05:57 +05:30
Adhiraj Singh
f29c5cf206
Add name to presence update
2020-11-17 17:12:14 +05:30
Adhiraj Singh
cea702b5a3
better presence handling via chat-update
2020-11-17 16:58:57 +05:30
Adhiraj Singh
f68a14bff8
Added profile picture to contact
2020-11-17 13:19:19 +05:30
Adhiraj Singh
7a80bc1b92
Detect new login
2020-11-14 14:12:04 +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
69da12c33c
handle tags via EventEmitter + replace 'intermediate-close' with 'ws-close'
2020-10-30 17:42:45 +05:30
Adhiraj Singh
51672150e4
More reliable debounced timeouts
2020-10-23 14:21:15 +05:30
Adhiraj Singh
a72ed7272d
Automatic audio duration fetch
2020-10-22 20:23:35 +05:30
Adhiraj Singh
28cf354f43
Added connection-validated
2020-10-15 17:11:21 +05:30
Adhiraj Singh
e2d5fb1a25
More accurate phone connection detection
2020-10-15 16:50:52 +05:30
Adhiraj Singh
16b138c759
added experimental always use takeover
2020-10-13 14:49:36 +05:30
Adhiraj Singh
6c000ab093
Added logger, handled checksum fail
2020-10-12 20:32:32 +05:30
Adhiraj
15ba4b66fb
Added fetch agent
2020-10-06 12:55:38 +05:30
Adhiraj
6560fc1756
string based key for messages
2020-10-05 01:40:13 +05:30
Adhiraj
64c9b7449e
Chat ordering update
2020-10-04 18:29:35 +05:30
Adhiraj
0d13a15904
Handle updating of credentials
2020-10-02 14:19:04 +05:30
Adhiraj
8277590d11
Added ability to log messages
2020-09-30 20:44:22 +05:30
Adhiraj
3a878ae193
Updates
...
- removed timeout, use maxIdleTimeMs
- made messages a keyedDB to better utitlize message cache
- possible fix for group ID bug
2020-09-27 13:51:36 +05:30
Adhiraj
d86cde2805
added force media_conn option
2020-09-23 15:36:45 +05:30
Adhiraj
30cee92758
PTT Audio + Automatic link preview generation + Minor changes
2020-09-22 22:50:29 +05:30
Adhiraj
ac0eb6fc10
Cache presence updates + waitForLastMessage option
2020-09-18 19:08:19 +05:30
Adhiraj
b7de86afce
Idle timeout
2020-09-18 16:22:57 +05:30
Adhiraj
7eb454b3dd
Added user
2020-09-17 16:10:45 +05:30
Adhiraj
3f35baee2f
.
2020-09-14 16:58:43 +05:30
Adhiraj
db44f82724
Added GenericMediaMessage
2020-09-11 19:30:51 +05:30
Adhiraj
f9f109e134
updates
2020-09-07 20:22:28 +05:30
Adhiraj
16ef8a617e
updated connect & message sending
2020-09-07 20:08:43 +05:30
Adhiraj
f12f6fd90d
added proxy support
2020-09-06 15:48:01 +05:30
Adhiraj
b645214926
Better media conn handling
2020-09-05 19:28:35 +05:30
Adhiraj
1340279cdb
added pong event
2020-09-03 22:58:27 +05:30