Commit Graph

1092 Commits

Author SHA1 Message Date
✬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
f7b723f97b feat: fire "receivedPendingNotifications" after flush 2022-07-04 16:52:38 +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
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
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
LUA
aade0a20b2 chore: update version (#1774)
https://web.whatsapp.com/check-update?version=1&platform=web
updated to latest version.
2022-06-22 10:40:53 +05:30
Adhiraj Singh
24dd76771e fix: correctly extract media content 2022-06-21 13:56:21 +05:30
Lucas Maia
51e5572f82 Update group.js (#1758)
Set status 200 as string, to standardize responses.
2022-06-20 15:44:24 +05:30
LightningNeko
27f53bfa51 fix: xml-not-well-formed on +255 size lists (#1762) 2022-06-20 15:43:53 +05:30
Adhiraj Singh
6c4f63237f fix: better WS error map 2022-06-20 15:18:04 +05:30
Adhiraj Singh
cacc1ce130 feat: implement "groupAcceptInviteV4" add participant msg 2022-06-19 15:33:28 +05:30
Adhiraj Singh
4ad0683e0c chore: remove redundant pre-fetch 2022-06-17 13:37:49 +05:30
Adhiraj Singh
7863c0e4c2 perf: nicer "shouldIncludeDeviceIdentity" flag computation 2022-06-17 13:16:41 +05:30
Adhiraj Singh
399b4d3cb8 feat: add "device_fanout" flag for retry receipt 2022-06-17 13:16:22 +05:30
Adhiraj Singh
23acc1fb39 feat: extract code from WS error 2022-06-16 20:43:51 +05:30
Adhiraj Singh
bd6be89d57 fix: ack before sending retry receipt 2022-06-16 15:25:55 +05:30
Adhiraj Singh
349002857e feat: use (participant, ID) tuple for retry counter 2022-06-16 15:25:31 +05:30
Adhiraj Singh
1dc5d4eae0 fix: do not add "reason: identity" for details fetch 2022-06-16 14:56:06 +05:30
Adhiraj Singh
e9f494ec5d feat: more efficient message send 2022-06-16 14:53:23 +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
442489faae fix: correctly respond to retry requests 2022-06-15 15:05:43 +05:30
Adhiraj Singh
7b900c174d chore: more logging 2022-06-15 13:55:23 +05:30
LeonardoBein
227cab2f95 feat: Returns an object with information about the invite code's group (#1562)
* feat: Returns an object with information about the invite code's group

* refactor: more information in metadata group
2022-06-13 20:34:01 +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
Wender Teixeira
c22b4c9c89 chore: update version (#1734)
https://web.whatsapp.com/check-update?version=1&platform=web
updated to latest version.
2022-06-13 20:13:00 +05:30
Adhiraj Singh
ae94e0ac38 fix: correctly handle devices & encrypt notif 2022-06-13 19:56:00 +05:30
Adhiraj Singh
07f0ff86e8 chore: update group invite docs 2022-06-13 19:55:37 +05:30