Commit Graph

269 Commits

Author SHA1 Message Date
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
Adhiraj Singh
8fa500a8a2 chore: update proto
the proto was generated using a different method, hence the diff is larger -- but if the method continues to work, we should get very nice little diffs
2022-06-23 22:14:43 +05:30
Adhiraj Singh
24dd76771e fix: correctly extract media content 2022-06-21 13:56:21 +05:30
Adhiraj Singh
6c4f63237f fix: better WS error map 2022-06-20 15:18:04 +05:30
Adhiraj Singh
7863c0e4c2 perf: nicer "shouldIncludeDeviceIdentity" flag computation 2022-06-17 13:16:41 +05:30
Adhiraj Singh
23acc1fb39 feat: extract code from WS error 2022-06-16 20:43:51 +05:30
Adhiraj Singh
ecd8f74800 chore: logging in transaction 2022-06-16 14:47:57 +05:30
Adhiraj Singh
f44335db8d chore: better error for recipient error 2022-06-15 15:05:58 +05:30
Adhiraj Singh
7b900c174d chore: more logging 2022-06-15 13:55:23 +05:30
fadiinho
bd98b13895 fix: reaction message doesn't appear when send to a group (#1700)
* fix: reaction message doesn't appear when send to a group

* use undefined instead of null
2022-06-13 20:15:56 +05:30
Dwi Rizqi
e7087cabf5 fix: Delete Message For Me (#1718)
* Add Timestamp for deleteMessageForMe

* Fix Typo Readme

* Add Timestamp for deleteMessageForMe

* fix: Typo type timestamp
2022-06-13 20:13:52 +05:30
Adhiraj Singh
32fadda86a feat: add button reply 2022-06-13 16:22:28 +05:30
Adhiraj Singh
b125638253 fix: add missing "isLatest" flag 2022-06-13 12:53:20 +05:30
Adhiraj Singh
f87f89329b perf: avoid excess memory usage when syncing state 2022-06-11 20:25:57 +05:30
Adhiraj Singh
a0548fbc4c fix: add more escape chars for multi file auth state 2022-06-11 19:30:48 +05:30