Commit Graph

111 Commits

Author SHA1 Message Date
arthur simas
d91967aa1c Revert "fix: inefficient method of extracting url from text (#741)" (#748)
* Revert "fix: inefficient method of extracting url from text (#741)"

This reverts commit f5c1affc4d.

* fix: link preview should follow redirects

* fix: allow link preview of URLs with @ sign

---------

Co-authored-by: Ezequiel Moraes <ezequielmoraesdev@gmail.com>
2024-04-29 10:44:42 +03:00
arthur simas
03f82f599e fix: enable viewOnce messages to quote (#736) 2024-04-28 14:18:29 +03:00
arthur simas
111601bc73 feat: add support to ptvMessage in sendMessage method (#738)
* add support to ptvMessage in sendMessage method

* fix(ptv-sendmessage): Eslint

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-04-28 14:00:49 +03:00
Ezequiel Moraes
f5c1affc4d fix: inefficient method of extracting url from text (#741)
* fix: inefficient method of extracting url from text
This fixes the thumbnail error when submitting a
Google Maps link.

* fix: link preview with redirects
2024-04-28 13:48:25 +03:00
Javier Cuevas
af4251953b Support for receiving "view once" audio messages (#595) 2024-01-19 18:30:20 +02:00
Bob
985fd3b94d Update getDevice (#569)
Co-authored-by: Bob <115008575+bobpetrov@users.noreply.github.com>
2024-01-19 18:01:32 +02:00
ShellTear
9e52fc63f0 Merge pull request #504 from cristiano-linvix/master
fix: fix message content type detection
2024-01-03 00:10:10 +02:00
Rajeh Taher
1af26c7c16 Merge pull request #451 from andresayac/master
proposal: detect desktop and fix device identification using message
2024-01-01 01:27:34 +02:00
Cristiano Cruz
a07922b136 fix: fix message content type detection 2023-11-16 16:18:13 -03:00
Andres Aya
18681c995b proposal: detect desktop and fix device identification using message 2023-10-19 15:21:38 -05:00
Rajeh Taher
7cc604a9b5 share, receive, request, all you want 2023-10-01 21:43:00 +00:00
ShellTear
f18c9483cc Update messages.ts
Remove string type and revert back to boolean.
2023-07-19 22:18:20 +03:00
Davidson Gomes
cba9827851 feat: Send Status (status@broadcast) {text, media, audio(with waveform)} (#249)
Co-authored-by: Davidson Gomes <contato@agenciadgcode.com>
2023-07-18 10:25:16 -03:00
Codeboss
2c76713565 feat: Add waveforms to voice messages (#180)
Co-authored-by: Edgard <edgardmessias@gmail.com>
2023-07-13 21:08:11 -03:00
ファイズ
a683cbe633 fix: Fixed ephemeral message visual bug (#185)
Co-authored-by: aqulzz <75623219+zennn08@users.noreply.github.com>
2023-07-08 18:06:13 -03:00
BochilGaming
8e1e9b9386 fix: fix edit message (#192) 2023-06-30 18:19:34 -03:00
Hisoka775
13c3b91852 feat: add contextInfo support 2023-06-15 20:02:39 -03:00
Andres Aya
7f60f163e6 fix: get poll request from getAggregateVotesInPollMessage in v1 v2 v3 (#74) 2023-05-16 19:35:01 +02:00
Rajeh Taher
9cce97e555 ESLint fix 2023-05-10 23:49:39 +03:00
Rajeh Taher
49c2195f82 ESLINT 2023-05-10 23:48:09 +03:00
Rajeh Taher
3478f2b679 Update messages.ts 2023-05-06 01:27:50 +03:00
Adhiraj Singh
d98d4156fe feat: utility functions for poll updates 2023-03-02 18:45:56 +05:30
Adhiraj Singh
cd42881201 feat: allow messageSecret as param to poll create 2023-03-02 17:42:34 +05:30
Adhiraj Singh
3052398cd0 Merge branch 'master' into pr/2472 2023-03-02 15:22:46 +05:30
Adhiraj Singh
06f2d354bf chore: lint files 2023-03-02 15:22:43 +05:30
Adhiraj Singh
ca24608dc8 chore: pass axios options to downloading remote media 2023-02-18 13:03:47 +05:30
Alan Mosko
9c71267e22 Update messages.ts 2023-01-17 11:53:13 -03:00
Alan Mosko
78f04d8714 wip 2023-01-11 23:58:29 -03:00
Adhiraj Singh
5041be776e feat: handle futureproofmessage 2022-12-23 16:58:39 +05:30
kaatt
474dc78d24 add viewOnceMessageV2 2022-12-23 16:58:39 +05:30
kaatt
fb1d39eba4 Update messages.ts
Co-Authored-By: Adhiraj Singh <adhirajsingh1001@gmail.com>
2022-12-23 16:58:39 +05:30
kaatt
39bd5b1c94 fix 2022-12-23 16:58:39 +05:30
kaatt
004bb98b59 remove console.log 2022-12-23 16:58:39 +05:30
kaatt
02e05aba42 improve normalizeMessageContent 2022-12-23 16:58:39 +05:30
Adhiraj Singh
f1ca770930 chore: add "documentWithCaptionMessage" to normalise msg 2022-11-23 10:50:54 +05:30
Adhiraj Singh
47900eae14 feat: add listReply 2022-11-13 12:23:22 +05:30
Adhiraj Singh
b2aa51a13d feat: add custom patchMsg function + remove patch for btns 2022-11-12 19:31:11 +05:30
Adhiraj Singh
f0bdb12e56 feat: generate high quality thumbs on link preview 2022-09-15 18:40:22 +05:30
Adhiraj Singh
561163c88d feat: allow downloading extendedTextMessage thumbs 2022-09-15 15:13:54 +05:30
Adhiraj Singh
3a891e071e feat: map all WA media types 2022-09-15 15:09:51 +05:30
Adhiraj Singh
765dcc1d1f fix: upload for product 2022-09-02 20:10:13 +05:30
Ilya Borodin
4f1d9492c5 Changed concat to push 2022-08-20 23:21:56 +05:30
Adhiraj Singh
8a234e1073 feat: implement product message sending 2022-08-08 16:25:20 +05:30
Adhiraj Singh
9f3b00d58d fix: temp patch for button/list messages 2022-08-04 11:13:00 +05:30
Adhiraj Singh
a4208a4bf6 fix: exclude emails from URL gen 2022-08-02 08:38:10 +05:30
Adhiraj Singh
2549d10be9 feat: update proto
The new proto extract has a bunch of breaking changes, so if you were using the raw proto in your code somewhere -- then you may have to update your code to make it work with the new proto

!BREAKING_CHANGE
2022-08-01 10:43:04 +05:30
Adhiraj Singh
40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +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
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