Commit Graph

1290 Commits

Author SHA1 Message Date
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
github-actions[bot]
acd0321a53 chore: updated proto/version to v2.2403.2 (#288)
Co-authored-by: edgardmessias <edgardmessias@users.noreply.github.com>
2024-01-19 18:00:54 +02:00
ugurgungezerler
6b4d91737f feat: auto version hash (#290)
* feat: auto version hash

* sort imports

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-01-19 18:00:45 +02:00
Ashary Vermaysha
3fc5d4b803 feat: add option for Windows browser (#303) 2024-01-19 18:00:18 +02:00
Alex
4ff3b329b8 Use senderTimestampMs instead of messageTimestamp (#348)
* Use senderTimestampMs instead of messageTimestamp

* Add .toNumber(), because senderTimestampMs is Long

* chore: Fix linting

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-01-19 18:00:12 +02:00
Bob
3efd3e00ca feat: memberAddMode and joinApprovalMode in groups.update (#532)
* feat: memberAddMode and joinApprovalMode

* feat: memberAddMode and joinApprovalMode

* Update process-message.ts

* fix lint

* Update messages-recv.ts

* Update GroupMetadata.ts

* Update messages-recv.ts

* Update messages-recv.ts

* chore: fix linting and code efficiency

* fix lint

* Fix lint

* Update process-message.ts

* Update process-message.ts

---------

Co-authored-by: Bob <115008575+FortisEtMagnus@users.noreply.github.com>
Co-authored-by: Bob <115008575+bobpetrov@users.noreply.github.com>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-01-19 17:59:57 +02:00
Bob
408c0070ba feat: Set in group settings memberAddMode and joinApprovalMode (#534)
* feat: Set in group settings memberAddMode and joinApprovalMode

* fix lint

* fix lint

* fix conflict

---------

Co-authored-by: Bob <115008575+FortisEtMagnus@users.noreply.github.com>
Co-authored-by: Bob <115008575+bobpetrov@users.noreply.github.com>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-01-19 17:59:42 +02:00
ShellTear
a60cdfb053 Merge pull request #563 from kyraex/retain-creds
Retain existing authState.creds.me properties and add lid
2024-01-03 00:13:21 +02:00
ShellTear
140ecf16f8 Merge pull request #570 from WhiskeySockets/fix/pairing-code
Fix pairing code browser issue
2024-01-03 00:12:39 +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
ShellTear
19b18a8ff8 Merge pull request #535 from bobpetrov/rr
Update DisconnectReason
2024-01-03 00:09:57 +02:00
ShellTear
b062025591 Merge pull request #536 from bobpetrov/call
fix: In handle call, isGroup was improved and the group jid was added
2024-01-03 00:09:48 +02:00
Rajeh Taher
abe42564be fix: fix pairing code 2024-01-02 03:55:20 +02:00
Rajeh Taher
2fd16358c0 Merge pull request #485 from allburov/get-browser-logo-back
fix: find platform type based on browser second argument
2024-01-02 03:55:01 +02:00
Rajeh Taher
97dd960d01 Merge pull request #363 from aliazhar-id/aliazhar-patch-2
Feat: add authors who perform participant updates
2024-01-01 01:28:07 +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
Rajeh Taher
244ccfcdbb rename blockedNumber to forbidden 2024-01-01 01:08:40 +02:00
Rajeh Taher
e68730bb07 Merge branch 'master' into rr 2024-01-01 01:06:54 +02:00