devlikeapro
b8464d3665
Add lid to Contact - contact sync, history sync, group participants ( #1472 )
2025-06-18 08:08:09 -03:00
canove
fa706d0b50
chore: format everything
2025-05-06 12:10:19 -03:00
Rajeh Taher
18ac07df8e
lint: 0 warnings left
2024-10-14 05:15:10 +03:00
vini
fda2689169
fix: messaging-history.set event not emitting syncType and progress / add PDO request id ( #1042 )
...
* initial commit
* add PDO request id
2024-09-22 14:34:43 +03:00
Rajeh Taher
1f9cfb1cba
PDO protocol (peer data operation): Get more history sync + better message retry mechanism ( #919 )
...
* feat(feature/pdo-sync): initial commit
* feat(feature/pdo-sync): Moved to conventional send functions, exported, patched some errors
* fix(feature/pdo-sync): Linting and more bugsquatting
* chore(feature/pdo-sync): linting done
* feat/fix(feat/pdo-sync): Newsletter decrypt + ack
* merge (#946 )
* fix: profilePictureUrl (#901 )
* Update module to latest version (#926 )
* Update package.json
Update the module to the latest
* Add files via upload
* Fix: Readme use upsert events (#908 )
* Fix: getUSyncDevices (#862 )
* Update messages-send.ts
* Update messages-send.ts
* Update messages-send.ts
* Fix lint
* Fix lint
* fix(master): update linting workflow to node 20 (current LTS)
---------
Co-authored-by: Akhlaqul Muhammad Fadwa <75623219+zennn08@users.noreply.github.com >
Co-authored-by: Rizz2Dev <muhamad.rizki27483@smp.belajar.id >
Co-authored-by: Oscar Guindzberg <oscar.guindzberg@gmail.com >
Co-authored-by: Bob <115008575+bobslavtriev@users.noreply.github.com >
* chore(feature/pdo-sync): final linting
* fix(feature/pdo-sync): make replies optional
* feat(feat/pdo-sync): add <unavailable> handle
* feat(feature/pdo-sync): Fixed the issues with peer messages and implemented some more logic
* fix(feature/pdo-sync): Make progress optional
* fix(feature/pdo-sync): Nullify and defeat Message absent from node if it is resolved immediately
* feat(feature/pdo-sync): Export message absent from node and export PDO request ID with it
---------
Co-authored-by: Akhlaqul Muhammad Fadwa <75623219+zennn08@users.noreply.github.com >
Co-authored-by: Rizz2Dev <muhamad.rizki27483@smp.belajar.id >
Co-authored-by: Oscar Guindzberg <oscar.guindzberg@gmail.com >
Co-authored-by: Bob <115008575+bobslavtriev@users.noreply.github.com >
2024-08-14 12:07:27 +03:00
Adhiraj Singh
5e28d23460
fix: msgs not appearing in chat
2022-11-03 21:30:05 +05:30
azudin
eb2590bc6c
Update history.ts ( #2212 )
...
* Update history.ts
Include FB business in contact
* Improve contact history
Update verifiedName
2022-10-01 10:37:44 +05:30
Adhiraj Singh
d0330d1863
refactor!: cleaner message history sync
...
This is a breaking change,
1. three events (chats.set, contacts.set, messages.set) are now just one `messaging-history.set` event
2. no need to debounce for app state sync
3. added a new "conditional" chat update to allow for correct app state sync despite not having the chat available on hand
2022-09-29 16:32:57 +05:30
Adhiraj Singh
ae3ac78dc3
feat: pass axios config to all axios instances
2022-09-19 17:46:43 +05:30
Adhiraj Singh
3a891e071e
feat: map all WA media types
2022-09-15 15:09:51 +05:30
Adhiraj Singh
c20865dff1
fix: correctly set latest message in chat + lastMsgRecvTimestamp
2022-09-11 11:07:12 +05:30
azudin
f11c8c401f
Fixed chats recent message
...
Include message either fromMe is false or true
2022-09-11 11:07:12 +05:30
Ilya Borodin
4f1d9492c5
Changed concat to push
2022-08-20 23:21:56 +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
d04718e27a
feat: add desktop + full history sync opts
2022-07-26 13:30:01 +05:30
Adhiraj Singh
40a1e268aa
feat: add "strictNullChecks"
2022-07-09 10:20:07 +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
ee7ed1d4e5
feat: include last message in chat
2022-06-24 11:46:47 +05:30
Adhiraj Singh
5cb71ac862
feat: more accurately handle app state sync
2022-06-11 12:02:08 +05:30
Adhiraj Singh
5305730d82
feat: track history being stored
...
This is done because sometimes we receive history after the first connect too, and to ensure the "isLatest" flag is accurate -- we ensure no history was received previously
2022-06-07 21:18:51 +05:30
Adhiraj Singh
bf8ff6d253
fix: readonly chats on sync
2022-05-09 16:03:53 +05:30
Adhiraj Singh
93262b38f4
fix: history sync missing contacts
2022-03-07 18:17:43 +05:30
Adhiraj Singh
8f11f0be76
chore: add linting
2022-01-19 15:54:02 +05:30
Adhiraj Singh
7bb6e3ceeb
refactor: chats.set event
2022-01-16 13:02:38 +05:30
Adhiraj Singh
793b23cb21
refactor: history processing
...
1. fixes issue when some chats/messages are not synced
2. adds info about whether the history chunk is the latest
2022-01-16 12:51:08 +05:30
Adhiraj Singh
fdfe310fdf
implement encrypting app patches
2021-09-28 19:22:39 +05:30
Adhiraj Singh
f267f27ada
finalize multi-device
2021-09-22 22:19:53 +05:30