Commit Graph

1380 Commits

Author SHA1 Message Date
Adhiraj Singh 4e85a10043 fix: reaction sender map 2022-07-17 10:56:07 +05:30
Adhiraj Singh af1d5f6a01 feat: use store.loadMessage for getMessage in example 2022-07-16 09:42:16 +05:30
Adhiraj Singh 3df968807d chore: update proto 2022-07-15 07:39:27 +05:30
Adhiraj Singh fda266ff73 fix: acc signature 2022-07-14 22:48:37 +05:30
Adhiraj Singh 1c36d57dd1 chore: do not log reg ID 2022-07-14 22:46:59 +05:30
Adhiraj Singh 33851cdd55 feat: force include identity when enc is missing 2022-07-14 17:41:11 +05:30
Adhiraj Singh fae4aafdcd fix: validateConnection mutating account 2022-07-14 17:40:49 +05:30
Adhiraj Singh ba486f9367 feat: include chats.delete in example 2022-07-14 11:24:15 +05:30
Adhiraj Singh 7b8390f1ca fix: delete chat + star message actions not syncing 2022-07-14 11:23:07 +05:30
Adhiraj Singh c982d8c3a0 fix: dup close events 2022-07-14 11:22:17 +05:30
Adhiraj Singh 729f19ef3e fix: participant count 2022-07-13 11:35:34 +05:30
Adhiraj Singh 8742bc2fd5 fix: isLatest flag 2022-07-13 11:04:55 +05:30
Adhiraj Singh 4c60e311f4 feat: correctly send retry messages w count 2022-07-13 10:34:13 +05:30
Adhiraj Singh f5af502c19 Revert "fix: always send key bundle with retry receipt"
This reverts commit 8fc1c10f0b.
2022-07-13 09:48:38 +05:30
Adhiraj Singh 8fc1c10f0b fix: always send key bundle with retry receipt 2022-07-13 08:42:26 +05:30
Adhiraj Singh 40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +05:30
LUA 7426b7aa2f chore: update version (#1883)
https://web.whatsapp.com/check-update?version=1&platform=web
updated to latest version.
2022-07-09 09:56:36 +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 7968abb0db chore: log all messages.upsert 2022-07-04 16:58:18 +05:30
Adhiraj Singh f7b723f97b feat: fire "receivedPendingNotifications" after flush 2022-07-04 16:52:38 +05:30
Adhiraj Singh adc2c9cab9 docs: add a bit more info about events 2022-07-04 11:40:49 +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
Pedro Dias a2054d8efa Change profile status for yourself (#1796)
* Update README.md

* Update chats.ts

* Update chats.ts
2022-07-01 16:57:04 +05:30
Adhiraj Singh d00aed7ff5 chore: timeout awaitNextMessage 2022-06-27 18:53:41 +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 baa3919a17 chore: add back "messages" to chat 2022-06-24 12:23:50 +05:30
Adhiraj Singh 92960bbf04 fix: set default status code 2022-06-24 12:14:10 +05:30
Adhiraj Singh 4ff858ab82 chore: increase app state sync timeout 2022-06-24 11:53:01 +05:30
Adhiraj Singh ee7ed1d4e5 feat: include last message in chat 2022-06-24 11:46:47 +05:30
Adhiraj Singh 9d6dfbf262 chore: update package version 2022-06-24 11:45:24 +05:30
Adhiraj Singh dfc030b453 fix: NaN last seen 2022-06-23 22:20:36 +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 a75d9118bd fix: only send receipt if participant present 2022-06-22 14:58:26 +05:30
Adhiraj Singh 33fffc4aad feat: implement privacy token fetch 2022-06-22 14:51:00 +05:30
Adhiraj Singh 721d0f32d6 feat: handle bad message acks + send retry to all correctly 2022-06-22 14:50:48 +05:30
Adhiraj Singh d61d333c5b chore: nicer retry errors 2022-06-22 12:07:09 +05:30
Adhiraj Singh 3160e35d91 feat: add lint workflow 2022-06-22 10:55:10 +05:30
Adhiraj Singh 4a66e60af3 lint: lint files 2022-06-22 10:54:07 +05:30
Aditya Singh a1082e85ed Fixed groupParticipantsUpdate request format (#1763) 2022-06-22 10:44:59 +05:30
4l3dx 084c39ca73 fix: add missing isAnimated flag (#1767) 2022-06-22 10:44:16 +05:30