Commit Graph

1307 Commits

Author SHA1 Message Date
allburov
fda4186306 Use message-receipt.update for status@broadcast events (#833) 2024-06-01 10:31:04 +03:00
allburov
b2d577409e Fix linter != to !== (#834) 2024-06-01 10:30:45 +03:00
Wender Teixeira
5af1295c46 Update baileys-version.json 2024-05-20 19:35:09 -03:00
ShellTear
fdf614ea6e Update messages-recv.ts 2024-05-18 21:56:41 +03:00
Rajeh Taher
5ffa3a51b6 fix(master): linting and making functionality better 2024-05-18 12:56:44 +03:00
vini
51f18d82c2 fix shouldIgnoreJid not receiving app state keys (#792) 2024-05-18 12:52:36 +03:00
azudin
d196ead378 Remove predefinedLabels (#770)
* Remove predefinedLabels

If the user doesn't delete the label from the WA business, it's not a problem.

but it will be a problem when the user deletes the default label, it remains in store but doesn't exist in WA

* fix linting

* fix trailing

* Update chats.ts

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-05-15 18:38:42 +03:00
Rajeh Taher
7d80bf0ea2 feat(add-logger): initial commit (#777) 2024-05-15 18:36:20 +03:00
Rajeh Taher
0eaa5af909 feat(add-routing-info): initial commit (#773) 2024-05-15 18:34:37 +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
allburov
17ce9df557 Make "logger" optional (#772) 2024-05-15 18:33:22 +03:00
Rajeh Taher
ce325d1182 fix(master): linting warnings 2024-05-10 16:33:59 +03:00
Rajeh Taher
88cf6f5234 fix(master): linting 2024-05-10 16:24:20 +03:00
Rajeh Taher
72407e3025 linting 2024-05-06 18:19:50 +03:00
Rajeh Taher
fbbb511fb8 fix(master): error in init queries 2024-05-06 18:18:15 +03:00
Bob
27d42652d7 Fix: Broadcast option is not present in the message options (#762) 2024-05-06 17:42:01 +03:00
Rajeh Taher
6fe7401337 Update make-in-memory-store.ts (#755)
* Update make-in-memory-store.ts

* fix logger error (#754)

* Update make-in-memory-store.ts

* Update make-in-memory-store.ts

* fix linting

* will we ever fix linting?

* final change

* test

* simplified

* final fix

* comments

* linting
2024-05-06 17:41:43 +03:00
Rajeh Taher
3967e5b2a6 chore: linting 2024-04-29 10:45:31 +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
felipealvesbezerra
b55749f694 hotfix message in group (#622)
hotfix message in group, decrypt error.
Tray cath correction because some events require this function.
2024-04-28 14:13:05 +03:00
Javier Cuevas
8c61f6719f Fix typo: onMessageRecieved -> onMessageReceived (#652)
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-04-28 14:08:10 +03:00
Lucas Maia
9075086be4 Show jid of people who changed some setting in group. (#688)
* JId of people who changed settings in group.

* Show jid of people who changed some setting in group.

* fix lint
2024-04-28 14:06:38 +03:00
Javier Cuevas
bb9cc01069 Fix logging of send/recv xml nodes with pino (#653) 2024-04-28 14:05:40 +03:00
Rajeh Taher
306e1c1355 WEB WAM IMPLEMENTATION!!!!! (#708)
* feat(WAM): initial commit

* fix(wam-development): I made a whoopsie

* Update Example/example.ts

Co-authored-by: Javier Cuevas <javiercr@gmail.com>

---------

Co-authored-by: Javier Cuevas <javiercr@gmail.com>
2024-04-28 14:03:24 +03:00
Antônio Roberto Júnior
e52570bbd7 add linkedParent in groupMetadata (#734)
* Update GroupMetadata.ts

* Update groups.ts
2024-04-28 14:02:49 +03:00
Davidson Gomes
495bb6775a fix: old_version in mobile connection (#722)
* mobile version

* mobile version

* mobile version
2024-04-28 14:02:41 +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
Codeboss
3b87d74f04 Fix pfp change notification (#323)
* Crash if chat is already deleted

* Crash if chat is already deleted (#321) (#322)

* Update messages-recv.ts

* Update make-in-memory-store.ts

* Update messages-recv.ts

* Update make-in-memory-store.ts

* Fix store errors

* Fix hash issue

* Fix eslint

* Update messages-recv.ts

* Update messages-recv.ts

* ESLint final

* no more eslint errors!
2024-04-28 13:44:53 +03:00
Rajeh Taher
9d2f9ed4e3 fix(missing messages): revert to normal (#732)
* revert to normal

* International community, please do not condemn me for this

* Update decode-wa-message.ts

* Update src/Utils/decode-wa-message.ts
2024-04-28 13:39:24 +03:00
ShellTear
6ad0674156 Fix platform types
Fixes #701 and #702.
2024-04-02 22:40:01 +03:00
Alessandro Autiero
1896ebe0ea Merge pull request #679 from WhiskeySockets/fix-missing-messages
Fix message retry mechanisms
2024-03-19 22:27:22 +01:00
Rajeh Taher
c218f3746e fix(#681): Fixed import (credit to #611) 2024-03-19 11:53:29 +02:00
Rajeh Taher
767af0b688 fix(retry): final commit: linting 2024-03-13 03:30:20 +02:00
Rajeh Taher
4d4dd58e06 thank lint 2024-03-12 23:58:36 +02:00
Rajeh Taher
99cd10b621 fix logic 2024-03-12 23:56:38 +02:00
Rajeh Taher
b66b362512 Update src/Socket/messages-recv.ts 2024-03-12 23:53:23 +02:00
Rajeh Taher
9d3dcfd08b fix(missing-messages): linting fix 2024-03-12 20:17:39 +02:00
Rajeh Taher
c264633291 fix(missing-messages): linting and bug 2024-03-12 07:25:45 +02:00
Rajeh Taher
8777f7fa70 fix ack 2024-03-12 06:23:56 +02:00
Rajeh Taher
087b8733fc Update messages-recv.ts 2024-03-12 06:16:17 +02:00
Pokoke
c17198e1d0 Change the default browser to fix pairing code 2024-01-28 23:29:25 +07:00
Timothy Dillan
5b02715fb0 chore: fix audio decode error due to passing spread argument 2024-01-21 13:28:10 +08:00
Rajeh Taher
a402d2aac4 chore: fix typing (duplicate property due to overlapping PRs) 2024-01-19 18:33:29 +02:00
Bob
c41be3ac4f feat: If need approval to join the group in groupMetadata (#533)
* If need approval to join the group

* If need approval to join the group

* Update groups.ts

* Update groups.ts

* fix lint

* Update groups.ts

* Update groups.ts

---------

Co-authored-by: Bob <115008575+FortisEtMagnus@users.noreply.github.com>
Co-authored-by: Bob <115008575+bobpetrov@users.noreply.github.com>
2024-01-19 18:31:35 +02:00
Wender Teixeira
504fe942ee Update size calculation in extractGroupMetadata function (#581) 2024-01-19 18:31:01 +02: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
Alex Sandro
18990f874f feat: Add max msg retry count (#572) 2024-01-19 18:01:20 +02:00