Commit Graph

126 Commits

Author SHA1 Message Date
canove fa706d0b50 chore: format everything 2025-05-06 12:10:19 -03:00
w3nder dfe8bb3283 refactor(messageId): update all remaining usages to v2 format consistently 2025-04-30 00:59:19 -03:00
Rajeh Taher 99142aac96 proto: update manually to 2.3000.1020608496 2025-03-06 04:22:17 +02:00
contato.mateusfr@gmail.com 21f8431e61 Dependency Inversion for Logger (#1153)
* feat: interface "ILogger" created
feat: interface "ILogger" used instead of pino logger
feat: "PinoLoggerAdapter" created to implement "ILogger" interface

* feat: PinoLoggerAdapter removed
feat: ILogger mapping the features we're using from pino

* fix: sort imports

---------

Co-authored-by: Mateus Franchini de Freitas <contato.mateusfr@outlook.com>
Co-authored-by: Mateus Franchini de Freitas <mfranchini@domtec.com.br>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2025-03-01 18:30:51 +02:00
AstroX11 89b28a438b feat: add Id support for desktop (#1240)
* feat: add Id support for desktop

This commit adjusts the ID length check for desktop, fixing the issue where some desktop IDs were incorrectly classified as "unknown."

Baileys stopped identifying if a message was from WA Desktop (Based on my observations last Year).

This adjustment addresses this issue.

* redundancy removed

* fix: linting
2025-02-24 03:24:44 +02:00
Lucas Maia b78902fc8d messages: fix EPERM error by verifying temp file removal when sending images (#1227)
* messages: add verification to remove temp file, solve EPERM operation not permitted

* fix lint on messages

* another try to fix lint for pr health

* Fixed, too many changes were breaking the code; this should be enough

* another try to fix this
2025-02-02 11:52:55 +02:00
vini 31bc8ab4e2 [chore]: remove duplicated waveform generation (#1169) 2024-12-23 21:26:10 +02:00
Rajeh Taher 18ac07df8e lint: 0 warnings left 2024-10-14 05:15:10 +03:00
Rajeh Taher 7c9f2ebd46 feat(feature/group-invite-v4): initial/final commit (#958) 2024-08-14 12:10:37 +03:00
Rajeh Taher 020add8b9b feature(feature/pin-message): initial/final commit (#959) 2024-08-14 12:09:29 +03:00
Rajeh Taher 35f6d75cf8 fix(fix/buttons-deprecation): initial/final commit (#956) 2024-08-14 12:07:12 +03:00
Rajeh Taher e91501026c feat(feature/poll-v3): initial/final commit (#957) 2024-08-14 12:06:32 +03:00
azudin 6af6bffe31 Fix: sending ptv if true (#856) 2024-06-10 20:00:23 +03:00
azudin 8076745abf Video Note (ptvMessage) support (#840)
* Update messages-recv.ts

revert back jid to from

* fix productMessage

fixed sending catalog

* Update messages-recv.ts

* Update messages-recv.ts

* Update messages.ts

* Update ptvMessage

* Update messages.ts

* Update README.md

* Update src/Socket/messages-recv.ts

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-06-10 14:01:13 +03:00
arthur simas 2ae664c655 fix: downloadMediaMessage return type matched parameter (#757)
* fix: downloadMediaMessage return type matched parameter

* chore: keyword-spacing eslint rule warn instead of error

* chore: linting

aaaaaaaaaaaaaaaaaaaa
2024-05-15 18:34:06 +03:00
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