bhavya32
0dea009f9c
Added Option to skip QR Logging in Terminal ( #552 )
...
QR logging can now be disabled using connect option.
2021-06-27 19:02:47 +05:30
Adhiraj Singh
66fb931fa3
WAChat update
2021-04-29 23:17:09 +05:30
Adhiraj Singh
45503898b0
read bug fix
2021-04-29 23:12:01 +05:30
Adhiraj Singh
5dfeaf75b0
Update 4.Events.ts
2021-04-25 19:22:00 +05:30
Adhiraj Singh
15ff592534
weird group ID patch
2021-04-20 13:04:11 +05:30
Adhiraj Singh
a8f4e14412
Disappearing messages fix
...
- Fixes crash issue on groups
- Fixes (i) on group chats when disappearing messages is on
2021-03-19 21:18:21 +05:30
Adhiraj Singh
afea6c249e
Delete chat fix
2021-03-18 13:21:33 +05:30
Adhiraj Singh
4c2f954601
Fix ping not happening more than once
2021-03-11 13:52:52 +05:30
Adhiraj Singh
482fa7090b
Remove depracations + add chat ping loop
2021-02-12 16:54:31 +05:30
Adhiraj Singh
d803c219b6
Android not receiving message status update fix
2021-02-04 22:38:30 +05:30
Adhiraj Singh
dfaeef0db1
Fix initial-data-received called multiple times
...
The latest android version has messages with the last: true flag set on all messages, causing incorrect events being fired off. This update creates a timeout that fires off the initial-data-received 2500ms after the last messages received.
This may not be as accurate in production but will be better than the current version
2021-02-04 19:04:50 +05:30
Adhiraj Singh
500805236a
Don't dup presence updates
2021-01-08 19:54:41 +05:30
Adhiraj Singh
b9ece77220
Removed loadProfilePicturesForChatsAutomatically
2021-01-05 19:08:25 +05:30
Adhiraj Singh
96a6dc7e6d
General cleanup
2021-01-04 21:21:43 +05:30
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
6cc5a910f7
Completely remove message-status-update & user-status-update
2021-01-04 14:19:44 +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
05bae6b1e7
Unarchive tests
2020-12-31 11:18:47 +05:30
Adhiraj Singh
763ac66551
Update key when archive changes
2020-12-31 10:39:51 +05:30
Adhiraj Singh
c126cca554
Unarchive conversations on new message
2020-12-30 16:49:58 +05:30
Adhiraj Singh
100c8fd96d
Add more contact-update + better phone check
2020-12-30 11:26:46 +05:30
Edgard Messias
14bf3a441a
Added method to update the profile name
2020-12-18 16:10:05 -03:00
Adhiraj Singh
a55dac4e60
Blocklist bug fix
2020-12-18 18:51:21 +05:30
Adhiraj Singh
b6a8d02038
Cleaner upserts
2020-12-18 16:49:28 +05:30
Adhiraj Singh
ccab24cdb2
Nicer message deletion + catch profile picture update errors
2020-12-18 12:35:24 +05:30
Edgard
0bf0ec6490
Added method to block/unblock user ( close #233 )
2020-12-14 16:05:57 -03:00
Adhiraj Singh
282fdb1bd3
Add option to look for deleted keys in shallowChanges
2020-12-12 14:15:05 +05:30
Adhiraj Singh
b72e2dfcf9
Track updated contacts
2020-12-12 14:06:46 +05:30
Adhiraj Singh
eb7b8506a9
Added support for sending + toggling disappearing messages
2020-12-12 00:21:11 +05:30
Adhiraj Singh
376a43f116
Duplicate message after reconnect fix
2020-12-09 00:01:37 +05:30
Adhiraj Singh
caf82a46a8
Indexing change + missing messages detection
2020-12-08 18:06:20 +05:30
Adhiraj Singh
a464923402
Presence bug fix
2020-12-06 15:32:39 +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
a7d51f9831
possible undefined jid fix
2020-11-27 19:52:34 +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
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
be92f5d33c
presence update bug fix
2020-11-17 17:27:09 +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
781f586b6f
Update 4.Events.ts
2020-11-15 15:10:05 +05:30
Adhiraj Singh
2a01add13e
Better search for numbers + chat fix
2020-11-15 14:05:32 +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
7b2aa7dd8a
Ensure @s.whatsapp.net for message-update
2020-10-29 16:44:29 +05:30
Adhiraj Singh
cc722a5138
Callbacks via EventEmitter + possible memory leak fix
2020-10-28 16:10:28 +05:30