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
e531a71bde
Merge pull request #239 from chan32167/patch-1
...
Update example.ts
2020-11-24 20:37:14 +05:30
Adhiraj Singh
242328abdc
Presence fixes
2020-11-24 18:56:07 +05:30
chan32167
c53b091484
Update example.ts
2020-11-22 18:45:07 -05:00
Adhiraj Singh
cd90d66c5e
Update group docs
2020-11-22 22:00:23 +05:30
Adhiraj Singh
698e248076
Merge pull request #231 from Fr4nZ82/patch-1
...
Pass a promise on loadAllMessages
2020-11-22 18:05:27 +05:30
Fr4nZ82
b1868e8298
Update 7.MessagesExtra.ts
2020-11-22 05:33:18 +01:00
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
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
11d1dda3f5
Fix pendingRequestTimeout bug
2020-11-14 16:01:02 +05:30
Adhiraj Singh
7a80bc1b92
Detect new login
2020-11-14 14:12:04 +05:30
Fr4nZ82
9a4b755bd6
Pass a promise on loadMessage
...
I've changed because i need to write to files a big chat history and appendFileSync is deprecated
2020-11-14 04:28:29 +01:00
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
c4548f756b
Update version
2020-11-10 12:15:38 +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
155df2bc4f
Android chat read fix + debounceTimeout bug fix
2020-11-03 13:24:56 +05:30
Adhiraj Singh
e0fd554aa0
Update 0.Base.ts
2020-11-01 17:37:22 +05:30
Adhiraj Singh
71d1d0cc8e
Update def.proto
2020-10-30 18:41:00 +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
9366c45842
Update yarn.lock
2020-10-29 23:34:20 +05:30
Adhiraj Singh
aa40d63494
Update 0.Base.ts
2020-10-29 17:30:02 +05:30
Adhiraj Singh
92c15b477b
EventEmitter fix
2020-10-29 17:29:38 +05:30
Adhiraj Singh
7b2aa7dd8a
Ensure @s.whatsapp.net for message-update
2020-10-29 16:44:29 +05:30
Adhiraj Singh
f071a796c4
Update 6.MessagesSend.ts
2020-10-29 13:17:25 +05:30
Adhiraj Singh
4b52d0e8c9
Possible QR scan bug fix
2020-10-28 23:20:09 +05:30
Adhiraj Singh
5d3048ce38
Moved message parsing logic outside try/catch
2020-10-28 22:44:23 +05:30
Adhiraj Singh
57c46e3122
regen QR call rejectPending
2020-10-28 22:20:55 +05:30
Adhiraj Singh
0a56406da3
Removed console.log
2020-10-28 19:23:29 +05:30
Adhiraj Singh
cc722a5138
Callbacks via EventEmitter + possible memory leak fix
2020-10-28 16:10:28 +05:30
Adhiraj Singh
159b6d5cf5
Update 5.User.ts
2020-10-26 17:14:24 +05:30
Adhiraj Singh
5b86dc06ba
Merge pull request #203 from Borewit/fix-audio-duration
...
Fix calculating audio duration.
2020-10-25 21:50:31 +05:30
Adhiraj Singh
ad0f35a1cd
Update 7.MessagesExtra.ts
2020-10-25 21:23:32 +05:30
Borewit
c36cb88fda
Fix calculating audio duration.
2020-10-25 13:59:51 +01:00
Adhiraj Singh
51672150e4
More reliable debounced timeouts
2020-10-23 14:21:15 +05:30
Adhiraj Singh
5861e851cc
Dynamic import audio libs
2020-10-22 22:10:42 +05:30
Adhiraj Singh
a72ed7272d
Automatic audio duration fetch
2020-10-22 20:23:35 +05:30
Adhiraj Singh
ea91c807f4
debug message cancels
2020-10-19 17:34:54 +05:30
Adhiraj Singh
588209d57c
Explicit waitForConnection + option to not load profile picture for new chats
2020-10-19 15:22:44 +05:30