Commit Graph

283 Commits

Author SHA1 Message Date
Adhiraj Singh
b988f4261f fix: remove redundant console 2022-09-15 18:50:06 +05:30
Adhiraj Singh
733345bb95 fix: jimp thumb gen 2022-09-15 18:47:00 +05:30
Adhiraj Singh
f0bdb12e56 feat: generate high quality thumbs on link preview 2022-09-15 18:40:22 +05:30
Adhiraj Singh
864a01f9a5 feat: return og dimensions when generating thumb 2022-09-15 16:00:23 +05:30
Adhiraj Singh
561163c88d feat: allow downloading extendedTextMessage thumbs 2022-09-15 15:13:54 +05:30
Adhiraj Singh
3a891e071e feat: map all WA media types 2022-09-15 15:09:51 +05:30
Adhiraj Singh
b05ce25dfa fix: do not add default check for sharp 2022-09-15 10:01:24 +05:30
kaatt
0f989751db actually fix 2022-09-15 10:01:24 +05:30
kaatt
48f8b30583 fix getImageProcessingLibrary 2022-09-15 10:01:24 +05:30
Adhiraj Singh
35b7a310a4 fix: correctly check for image processing lib 2022-09-12 12:24:55 +05:30
Adhiraj Singh
64f3f08adb feat: log thumb gen errors 2022-09-12 12:15:34 +05:30
Adhiraj Singh
c20865dff1 fix: correctly set latest message in chat + lastMsgRecvTimestamp 2022-09-11 11:07:12 +05:30
azudin
f11c8c401f Fixed chats recent message
Include message either fromMe is false or true
2022-09-11 11:07:12 +05:30
Adhiraj Singh
14def126cf fix: use direct path in product img 2022-09-02 22:32:53 +05:30
Adhiraj Singh
765dcc1d1f fix: upload for product 2022-09-02 20:10:13 +05:30
Adhiraj Singh
696fe0de9f fix: correctly check isLatest 2022-09-01 08:39:36 +05:30
Ilya Borodin
4f1d9492c5 Changed concat to push 2022-08-20 23:21:56 +05:30
Adhiraj Singh
c76c2afa0c feat: add "receivedInitialSync" connection update 2022-08-19 10:48:27 +05:30
Adhiraj Singh
c5917364ba chore: add stronger lint rules 2022-08-18 10:37:40 +05:30
Adhiraj Singh
8d6e00eab6 fix: handle when buffered tasks fail 2022-08-18 10:15:27 +05:30
Adhiraj Singh
dc07d31dc7 fix: correctly handle deleteMessageFromMe 2022-08-17 16:00:08 +05:30
Adhiraj Singh
8a234e1073 feat: implement product message sending 2022-08-08 16:25:20 +05:30
Adhiraj Singh
31b54ec7c3 fix: include accountSignatureKey in retry requests 2022-08-07 18:10:28 +05:30
Adhiraj Singh
9f3b00d58d fix: temp patch for button/list messages 2022-08-04 11:13:00 +05:30
Adhiraj Singh
a4208a4bf6 fix: exclude emails from URL gen 2022-08-02 08:38:10 +05:30
Adhiraj Singh
2549d10be9 feat: update proto
The new proto extract has a bunch of breaking changes, so if you were using the raw proto in your code somewhere -- then you may have to update your code to make it work with the new proto

!BREAKING_CHANGE
2022-08-01 10:43:04 +05:30
Adhiraj Singh
34f2095263 feat: add check WA business account 2022-07-27 12:45:25 +05:30
Adhiraj Singh
d04718e27a feat: add desktop + full history sync opts 2022-07-26 13:30:01 +05:30
Adhiraj Singh
665e461e83 feat: absorb existing message updates into upsert 2022-07-22 15:33:04 +05:30
LeonardoBein
b42be6bce4 Change profile name for yourself (#1913)
* feat: change profile name

* fix: unnecessary return
2022-07-21 15:56:51 +05:30
Adhiraj Singh
4e85a10043 fix: reaction sender map 2022-07-17 10:56:07 +05:30
Adhiraj Singh
fda266ff73 fix: acc signature 2022-07-14 22:48:37 +05:30
Adhiraj Singh
fae4aafdcd fix: validateConnection mutating account 2022-07-14 17:40:49 +05:30
Adhiraj Singh
7b8390f1ca fix: delete chat + star message actions not syncing 2022-07-14 11:23:07 +05:30
Adhiraj Singh
8742bc2fd5 fix: isLatest flag 2022-07-13 11:04:55 +05:30
Adhiraj Singh
40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +05:30
Adhiraj Singh
4c800b95d1 fix: only fire valid events 2022-07-07 15:37:01 +05:30
Adhiraj Singh
d143ef0b7d feat: handle delete events accurately 2022-07-06 22:05:01 +05:30
Adhiraj Singh
41ca76a0af fix: chats.delete patch on sync 2022-07-06 22:05:01 +05:30
✬Ravindu Manoj✬ ✓
f13bd1fdab whatsapp web version (#1868)
* whatsapp web version

* whatsapp web version

* function for fetch latest whatsapp web version

* whatsapp web version
2022-07-06 12:08:46 +05:30
Adhiraj Singh
189b740ea6 chore: remove "treatCiphertextMessagesAsReal" flag
!BREAKING_CHANGE

This was generally a poor design decision on my part to add something like this -- primarily because it could increment the chat unread counter a 100 times for a single message
2022-07-04 11:38:17 +05:30
Adhiraj Singh
5cc58d4aed feat: add bulk "process" capability to BaileysBufferableEventEmitter 2022-07-04 11:34:41 +05:30
Adhiraj Singh
de95694266 fix: use correct status code for throwing media error 2022-07-04 11:24:34 +05:30
aqulzz
200b75d53e fix: add senderTimestampMs automatically in reactMessage (#1845)
* docs: how to remove the reaction message

* Add `senderTimestampMs` automatically in reactMessage

* fix lint
2022-07-02 19:52:34 +05:30
Adhiraj Singh
2c03802939 chore: use "null" to signify removal of mute 2022-06-27 15:14:05 +05:30
Adhiraj Singh
eaf0f37d24 refactor: use event-buffer for state sync resyncs 2022-06-27 14:51:26 +05:30
Adhiraj Singh
7421f55daa feat: implement event buffer for offline msgs
!BREAKING_CHANGE

1. this allows all offline notifications to be combined into a batch -- to reduce the number of events being sent out
2. to enable the above, the "message.reaction" event has been made an array. Also removes the need for the "operation" field
3. have also now started processing all events under a single queue to prevent state sync problems
2022-06-27 13:38:29 +05:30
Adhiraj Singh
fd80448fcb feat: handle verified name in message 2022-06-26 10:57:49 +05:30
Adhiraj Singh
66f49e0b3d fix: correctly set reaction msg key 2022-06-25 22:39:55 +05:30
Adhiraj Singh
ee7ed1d4e5 feat: include last message in chat 2022-06-24 11:46:47 +05:30