Commit Graph

389 Commits

Author SHA1 Message Date
Ezequiel José Oliveira
f773a32da8 fix processMessage unexpected error (#1401) 2022-03-23 08:11:21 +05:30
Adhiraj Singh
9fee7faaf6 feat: add message events for reactions 2022-03-23 00:40:46 +05:30
Adhiraj Singh
3cefad2c8e fix: fire init queries in parallel
possible ghost session patch. cc @HUGEIT
2022-03-22 22:41:23 +05:30
Adhiraj Singh
5e80f5ace3 chore: ack history before processing 2022-03-21 23:29:56 +05:30
Adhiraj Singh
e731de5deb feat: add state sync keys in transaction 2022-03-21 23:29:43 +05:30
Adhiraj Singh
4962070c29 fix: possible typeerror 2022-03-21 18:57:29 +05:30
morrakan
9b8b3c3b70 fix presence.lastSeen is always undefined (https://github.com/adiwajshing/Baileys/issues/1377) (#1389)
Co-authored-by: morok <morok@nanofo.com>
2022-03-21 18:45:04 +05:30
Adhiraj Singh
93c8db319e feat: implement "treatCiphertextMessagesAsReal" flag 2022-03-21 14:15:22 +05:30
Mohammad Maaz
b5470e1b00 ephemeral tag is invalid. Valid tag is expiration (#1388) 2022-03-21 08:14:27 +05:30
Adhiraj Singh
54d31edc1d fix: do not fire presence update without name 2022-03-19 08:26:57 +05:30
Adhiraj Singh
dc5015996f fix: send init queries in queue 2022-03-19 08:25:49 +05:30
Adhiraj Singh
f2859e5387 fix: correctly handle receipts fromMe 2022-03-17 11:34:26 +05:30
Adhiraj Singh
13b0da0954 fix: catch unexpected errors on MD 2022-03-15 12:34:52 +05:30
Adhiraj Singh
8a9de2f042 fix: fetch order details on MD 2022-03-14 19:49:41 +05:30
Adhiraj Singh
2b10b7b18f chore: minor code cleanup 2022-03-14 19:38:01 +05:30
Deniz
a0e97458c6 Add a warning to make people aware of what they should do about the 'Restart Required' message. (#1329) 2022-03-08 13:59:40 +05:30
Adhiraj Singh
34781a51d3 chore: log browser when connecting 2022-03-07 19:44:36 +05:30
Adhiraj Singh
ad9314c1f2 fix: only update last account sync when required 2022-03-07 19:21:04 +05:30
Adhiraj Singh
94df5826f8 fix: account for no initial state while patching 2022-03-07 18:50:37 +05:30
Adhiraj Singh
e93e6e2656 fix: only sync app state on one batch of history 2022-03-07 18:18:21 +05:30
Adhiraj Singh
9ca46635d6 fix: correctly parse protocol message 2022-03-07 15:38:52 +05:30
Adhiraj Singh
238cde23b7 feat: automatic upload detection for product images 2022-03-07 15:33:52 +05:30
Adhiraj Singh
6967e53164 feat: implement product CRUD on MD 2022-03-07 09:09:08 +05:30
Adhiraj Singh
d6065015e6 chore: move messages-recv utils to the bottom of file 2022-03-07 09:07:38 +05:30
Adhiraj Singh
c4edcef5da feat: implement fetching product catalog + order details on MD 2022-03-06 13:30:11 +05:30
Adhiraj Singh
a8a0c701ae chore: add participant to msg body for notifications 2022-03-02 13:14:12 +05:30
Adhiraj Singh
3d56d610ae fix: redundant array 2022-03-02 00:06:56 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
73527ff5dd chore: lint 2022-02-08 11:02:19 +05:30
HUGEIT
df1e400e03 sendRetryRequest ("Waiting for this message") wrapped in mutex call to avoid crash in #1152 2022-01-25 13:54:42 +01:00
Adhiraj Singh
1f2a6641f3 feat: mutex processing in a chat to preserve order of events 2022-01-22 14:07:06 +05:30
Adhiraj Singh
a06f639774 fix: self read receipt on groups 2022-01-22 12:19:00 +05:30
Adhiraj Singh
57d6ab62a1 feat: use message receipt on MD 2022-01-22 11:37:26 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh
f7f86e69d6 chore: update log 2022-01-16 16:03:22 +05:30
Adhiraj Singh
4112c68556 feat: expose sendRetryRequest 2022-01-16 15:33:26 +05:30
Adhiraj Singh
7bb6e3ceeb refactor: chats.set event 2022-01-16 13:02:38 +05:30
Adhiraj Singh
793b23cb21 refactor: history processing
1. fixes issue when some chats/messages are not synced
2. adds info about whether the history chunk is the latest
2022-01-16 12:51:08 +05:30
Adhiraj Singh
5febb86e14 fix: message delete not reflecting correctly for others 2022-01-08 23:01:55 +05:30
Adhiraj Singh
a0003f0fe9 fix: read receipts not being available 2022-01-07 21:24:46 +05:30
Adhiraj Singh
db6a02c4a5 chore: remove redundant log 2022-01-07 21:04:54 +05:30
Adhiraj Singh
d15bde5d17 refactor: app state handling
1. fixes snapshot patches not being included
2. fixes all mutations being passed when syncing from scratch
3. simpler chat mutation model
4. do not retry if key is not found
2022-01-07 14:29:52 +05:30
Adhiraj Singh
da65ae8f42 fix: do not update chat + contact on prepend messages 2022-01-07 13:55:26 +05:30
Adhiraj Singh
6a2cb5a413 refactor: message decoding
1. removes redundant receipt (was exactly the same as delivery receipt without the timestamp)
2. decodeWAMessage now returns a proper message struct
3. each message stanza results in exactly one message decoded
2022-01-07 00:04:17 +05:30
BochilGaming
0b5d772b08 Fix ContactsArrayMessage and add getBusinessProfile (#1074)
* Fix: ContactsArrayMessage and add getBusinessProfile

* delete package-lock.json

* edit readme.md

* add bussines hours

* make type same with leagcy

* revert
2022-01-06 22:15:52 +05:30
Adhiraj Singh
7ffa10a5c5 fix: delivery receipt 2022-01-06 15:11:33 +05:30
rafaelwedbiz
3534221e11 Fix Played Status (message update event) (#1089)
* Fix Played Status

* Update messages-recv.ts

Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com>
2021-12-29 12:00:35 +05:30
Adhiraj Singh
8c37ccf525 fix: tsc error 2021-12-23 10:12:29 +05:30
nanda
ee3486124d Fix: fetchBlocklist (#1042) 2021-12-22 22:48:40 +05:30
Adhiraj Singh
a9373fa0cd refactor: cleaner + faster app state sync 2021-12-22 21:37:39 +05:30