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
24dd76771e
fix: correctly extract media content
2022-06-21 13:56:21 +05:30
Adhiraj Singh
32fadda86a
feat: add button reply
2022-06-13 16:22:28 +05:30
Adhiraj Singh
79518787b6
feat: prevent urlInfo gen
2022-06-10 09:52:36 +05:30
Adhiraj Singh
0ff6e1b571
chore: log more info when uploading media
2022-06-10 09:30:31 +05:30
Adhiraj Singh
cafc707628
feat: add option to reupload in downloadMediaMessage
2022-06-01 13:19:05 +05:30
Adhiraj Singh
4c51800b09
feat: add "assertMediaContent" util
2022-06-01 13:02:05 +05:30
Adhiraj Singh
15761ca9df
chore: more modular link preview generation
2022-05-27 13:30:37 +05:30
Adhiraj Singh
ebec02908c
feat: add clean message util before calling "messages.upsert"
2022-05-23 12:32:43 +05:30
Adhiraj Singh
4a8c6ed66d
fix: correctly generate quoted msgs
2022-04-30 17:40:08 +05:30
Ilya Borodin
2228da3b08
Preview link fix ( #1548 )
...
* Preview link fix
* Preview link refactor
* Deleted empty line
* Redundant unnecessary changes
* Added checker for http/https prefix in link
Co-authored-by: Ilya Borodin <ilya.borodin@botconversa.com.br >
2022-04-29 18:32:13 +05:30
Adhiraj Singh
44a6ac3534
Merge branch 'master' into invalid-qr-patch
2022-04-22 18:20:17 +05:30
Adhiraj Singh
d5e46b784b
fix: only generate urlInfo if not provided
2022-04-20 20:31:49 +05:30
Adhiraj Singh
5655961d12
feat: allow passing of url info in text message
2022-04-20 20:30:11 +05:30
Adhiraj Singh
15f66b802b
refactor: templateMessage cleaner code
2022-04-18 12:41:38 +05:30
Adhiraj Singh
5aa64f2c39
feat: add readMessages function
2022-04-06 09:30:32 +05:30
Adhiraj Singh
fef6b9c6f3
chore: use normalizeMessageContent in message
2022-03-23 16:18:51 +05:30
Ami
3a52f06c0f
Added ReactionMessage for React User Message with Emoji ( #1382 )
...
* Add react type
* Add ReactionMessage
* Add reactionMessage example...
* Lint fix...
2022-03-23 00:35:13 +05:30
Adhiraj Singh
d238826815
chore: import cleanup
2022-03-19 08:26:40 +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
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
0da4621999
feat: map template message content
2022-02-12 19:54:53 +05:30
Adhiraj Singh
08cd253e90
feat: add 'updateMessageWithReceipt' utility
2022-01-22 12:05:38 +05:30
Adhiraj Singh
8f11f0be76
chore: add linting
2022-01-19 15:54:02 +05:30
Adhiraj Singh
f09e0f85cc
feat: add getContentType
2022-01-13 16:26:56 +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
Pokoke
3ad02f0317
fix listMessage ( #1070 )
...
* fix listMessage
* Default listType
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* use the ListMessageListType enum
* use the ListMessageListType enum
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2021-12-31 15:45:35 +05:30
Adhiraj Singh
3713646980
fix: media cache
2021-12-30 10:48:10 +05:30
Adhiraj Singh
03f33852df
fix: ensure media cache does not override caption & other properties
2021-12-29 14:10:00 +05:30
Adhiraj Singh
c1301deda0
fix: correctly copy msg for forward
2021-12-20 11:12:21 +05:30
Rajeh Taher
d62db2bbd6
Added List message support and removed "saving auth state" ( #1048 )
...
* Added template support and footers for buttons & templates
* Template message readme
* got rid of "saving auth state" and added lists
* added body
* Update README.md
2021-12-19 22:29:35 +05:30
Adhiraj Singh
9d7aec11da
feat: add more logging to media
2021-12-19 14:35:51 +05:30
Adhiraj Singh
38a44be006
perf: experimental do not use fs for enc stream
2021-12-17 18:27:03 +05:30
Adhiraj Singh
4f674d3e26
fix: sending multiple contacts
2021-12-16 23:22:03 +05:30
Adhiraj Singh
6c4a9c7354
fix: sending list of contacts
2021-12-16 23:20:27 +05:30
Adhiraj Singh
d15dd6e1d2
feat: add "direct_path" to media messages
2021-12-13 17:31:20 +05:30
Adhiraj Singh
0ef9ce166d
fix: set remote jid on quoted participant
2021-12-11 00:17:26 +05:30
Vinicius Silva
1e386480e4
[MD] Added DeviceType ( #946 )
...
* [MD] Added DeviceType
* Update messages.ts
* Update messages.ts
* Delete index.d.ts
* Add files via upload
* Delete messages-recv.ts
* Add files via upload
* Update messages.ts
2021-12-06 08:53:38 +05:30
Rajeh Taher
cd9c313e47
[MD] Added template support and footers for buttons & templates ( #942 )
...
* Added template support and footers for buttons & templates
* Template message readme
2021-11-30 10:40:54 +05:30
Adhiraj Singh
13ef870f3e
style: remove useless variable in messages
2021-11-24 15:36:25 +05:30
Adhiraj Singh
3173e0d034
fix: media cache throwing error
2021-11-24 15:35:43 +05:30
Adhiraj Singh
3e54741042
feat: cache media uploads
2021-11-10 19:22:00 +05:30
Adhiraj Singh
cd59b8fc97
fix: extract msg content correctly
2021-11-09 00:09:50 +05:30
Adhiraj Singh
ba453a588b
feat: implement external patch parsing + app state sync on login
2021-11-08 15:07:25 +05:30
Adhiraj Singh
3202bae225
buttons msg fix
2021-10-05 09:47:35 +05:30
Adhiraj Singh
f1527a9f6b
separate out crypto utils
2021-09-23 22:37:33 +05:30
Adhiraj Singh
f267f27ada
finalize multi-device
2021-09-22 22:19:53 +05:30