Commit Graph

642 Commits

Author SHA1 Message Date
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
8a52eeb310 feat: implement getOrder on legacy 2022-03-06 10:56:29 +05:30
Adhiraj Singh
f2c91bcedd refactor: split downloadMediaMessage into functional components 2022-03-04 16:50:39 +05:30
Adhiraj Singh
5c05a5d34b feat: add normalizeMessageContent util 2022-03-04 12:27:10 +05:30
kaatt
7f495cf5f1 fix ephemeral view once message (#1307)
* fix ephemeral view once message

* fix ephemeral view once message
2022-03-03 01:01:41 +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
d192ffe6bc fix: forward message content 2022-03-02 00:06:38 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
c00c3da313 fix: BufferJSON failing with empty string 2022-03-01 16:30:11 +05:30
Black Amda ✅
a885cfb3f2 Update baileys-version.json (#1293) 2022-02-28 19:36:34 +05:30
Adhiraj Singh
4ac39d72ff fix: map eph duration on legacy group metadata 2022-02-27 12:29:17 +05:30
Adhiraj Singh
d21a39c302 feat: add product API for legacy connections 2022-02-24 17:58:37 +05:30
Adhiraj Singh
75582e4541 feat: add WA Web version auto fetch 2022-02-20 19:43:15 +05:30
Adhiraj Singh
7c5071d8d5 chore: move version to JSON file 2022-02-20 19:31:47 +05:30
ShellTear
d427de0302 Update version to fix 405 response (#1247)
Fixes the issue mentioned in #1246.
Requires scanning the qr again, otherwise it'll give 401 response.
2022-02-17 10:42:34 +05:30
Adhiraj Singh
913b38493c fix: throw error if no decrypt-able message found 2022-02-17 10:32:51 +05:30
Adhiraj Singh
0da4621999 feat: map template message content 2022-02-12 19:54:53 +05:30
Adhiraj Singh
e4eaf2d2e4 chore: update proto 2022-02-12 19:48:46 +05:30
Adhiraj Singh
73527ff5dd chore: lint 2022-02-08 11:02:19 +05:30
Adhiraj Singh
6f9a5f8f2f chore: update version 2022-02-08 11:02:14 +05:30
Anshu S
bbea04e5bc Fix Issue #1209 (#1210) 2022-02-07 18:20:48 +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
e7c2d4e117 fix: account for missing owner prop in legacy 2022-01-22 15:39:04 +05:30
Adhiraj Singh
b68efb15b6 fix: correct verify 2022-01-22 14:57:59 +05:30
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
08cd253e90 feat: add 'updateMessageWithReceipt' utility 2022-01-22 12:05:38 +05:30
Adhiraj Singh
57d6ab62a1 feat: use message receipt on MD 2022-01-22 11:37:26 +05:30
Adhiraj Singh
92587bd46a refactor: use the proto UserReceipt instead of custom MessageInfo 2022-01-22 00:27:00 +05:30
Adhiraj Singh
284c7e7812 fix: do not mutate update object reference 2022-01-20 12:28:56 +05:30
Adhiraj Singh
1ff4ff3aa6 chore: update version 2022-01-20 11:17:22 +05:30
Adhiraj Singh
1fb52de958 docs: update readme about store 2022-01-19 22:38:04 +05:30
Adhiraj Singh
fb66733b61 feat: implement in memory store
1. the store works as a temporary store for connection data such as chats, messages & contacts
2. the store is primarily meant to illustrate the usage of the event emitter as a way to construct the state of the connection. This will likely be very inefficient to perform well at scale
3. the store is meant to be a quick way to have some visibility of data while testing
4. the store works for both legacy & MD connections
2022-01-19 21:35:59 +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
09553def8a fix: include isLatest in events 2022-01-16 12:54:08 +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
f09e0f85cc feat: add getContentType 2022-01-13 16:26:56 +05:30
Adhiraj Singh
ede40b16f1 fix: update MD mismatch error code
Because 403 can mean other things as well -- don't want to conflate the two
2022-01-11 11:00:19 +05:30
Adhiraj Singh
5febb86e14 fix: message delete not reflecting correctly for others 2022-01-08 23:01:55 +05:30
Adhiraj Singh
127e21b920 feat: implement getAuthenticationCredsType 2022-01-08 11:27:19 +05:30
Adhiraj Singh
a0003f0fe9 fix: read receipts not being available 2022-01-07 21:24:46 +05:30
Adhiraj Singh
67f3ddeaff chore: remove null status from not fromMe msgs 2022-01-07 21:24:29 +05:30