Commit Graph

1322 Commits

Author SHA1 Message Date
vini
dbf25771a1 refactor: Change Sync Functions to Promises to Prevent Blocking Event Loop (#896)
* initial commit

* lint

* lint 2
2024-07-03 10:29:16 +03:00
LightningNeko
fdf9d48162 fix: invalid children for header "companion_platform_id": 49 (number) (#897) 2024-07-03 10:28:15 +03:00
devlikeapro
f1fe3ea115 Speed up encodeBinaryNode in x100 times if encoding many items in content (#882)
Do not convert to buffer in inner recursion, we need it only at the end
2024-07-03 10:27:40 +03:00
Bob
13be112b18 Feat: others browsers in requestPairingCode() (#879)
* update

* l

* string

* added Safari

* Update getPlatformId

* Update getPlatformId (fix)
2024-06-30 06:10:50 +03:00
devlikeapro
bd20fb631b Run repository.injectE2ESession in chunks (#881) 2024-06-30 06:06:42 +03:00
Rajeh Taher
c8aab8d03f fix(master): yarn lock and axios error + move to WhiskeySockets libsignal 2024-06-16 17:11:17 +03:00
Bob
61afe1cdc1 Fix linting generateMessageIDV2 (#871)
* Update messages-send.ts

* Update generics.ts
2024-06-16 15:33:01 +03:00
Rajeh Taher
0cc888e87b fix(master): generate new message id 2024-06-12 23:12:59 +03:00
Rajeh Taher
e91f9e05c5 fix(master): prevent detection 2024-06-12 15:08:30 +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
Bob
b8900639e9 update uuid to v10 (#847)
* Update auth-utils.ts

* uuid removed from package.json

* fix(uuid): update to v10

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-06-09 22:10:27 +03:00
Rajeh Taher
d7037cf6fa fix(fix-routing-info): initial commit (#837) 2024-06-03 00:59:09 +03:00
vini
ffec4af454 feat: add event that handles join approval requests (#802)
* initial commit

* lint

* add type in method

* add more actions / fixes participant jid / rename event

* fixes

* more fixes

* fix typing

* change 'reject' to 'rejected'

* chore:linting

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-06-03 00:10:36 +03:00
allburov
9065ab690f Lock file on save and read (#824)
Fix #794
2024-06-01 10:32:19 +03:00
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