Commit Graph

154 Commits

Author SHA1 Message Date
Adhiraj Singh
5c48cc8e61 docs: update for legacy code removal 2022-09-19 15:02:37 +05:30
Adhiraj Singh
f0bdb12e56 feat: generate high quality thumbs on link preview 2022-09-15 18:40:22 +05:30
aqulzz
c6b78015ca docs: How to send disappearing messages 2022-09-02 13:08:42 +05:30
fadiinho
e2c3d364de docs: remove extra braces 2022-08-20 23:26:58 +05:30
fadiinho
57267a63c7 docs: add how to pin and delete a chat 2022-08-20 23:26:58 +05:30
Adhiraj Singh
d04718e27a feat: add desktop + full history sync opts 2022-07-26 13:30:01 +05:30
LeonardoBein
b42be6bce4 Change profile name for yourself (#1913)
* feat: change profile name

* fix: unnecessary return
2022-07-21 15:56:51 +05:30
fadiinho
847a1dd571 fix: detectLinks was not being used as described in docs (#1922)
* fix: detectLinks was not being used as described in docs

* Revert "fix: detectLinks was not being used as described in docs"

This reverts commit adeb592b565f2f0a463f2e410fdb9ee98b0a4221.

* docs: remove unsued `detectLinks` from readme
2022-07-21 08:42:46 +05:30
SmolParascythe
55997dafca Made readme more clear and fixed grammar (#1929) 2022-07-20 17:01:14 +05:30
Adhiraj Singh
189b740ea6 chore: remove "treatCiphertextMessagesAsReal" flag
!BREAKING_CHANGE

This was generally a poor design decision on my part to add something like this -- primarily because it could increment the chat unread counter a 100 times for a single message
2022-07-04 11:38:17 +05:30
aqulzz
200b75d53e fix: add senderTimestampMs automatically in reactMessage (#1845)
* docs: how to remove the reaction message

* Add `senderTimestampMs` automatically in reactMessage

* fix lint
2022-07-02 19:52:34 +05:30
Pedro Dias
a2054d8efa Change profile status for yourself (#1796)
* Update README.md

* Update chats.ts

* Update chats.ts
2022-07-01 16:57:04 +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
LeonardoBein
227cab2f95 feat: Returns an object with information about the invite code's group (#1562)
* feat: Returns an object with information about the invite code's group

* refactor: more information in metadata group
2022-06-13 20:34:01 +05:30
Fatih Arridho
4f24fb451d Update README.md (#1710)
Fix README.md On How to Accept from Group Invite
2022-06-13 20:19:22 +05:30
Dwi Rizqi
e7087cabf5 fix: Delete Message For Me (#1718)
* Add Timestamp for deleteMessageForMe

* Fix Typo Readme

* Add Timestamp for deleteMessageForMe

* fix: Typo type timestamp
2022-06-13 20:13:52 +05:30
Paulo Corcino
b78ffe029a Update README.md (#1698)
Fix README.md with reference of constant 'saveCreds' correct on 'creds.update' event.
2022-06-05 17:19:45 +05:30
Adhiraj Singh
6824a203d0 feat: correctly handle presence being offline for receipts
When sendPresenceUpdate('unavailable') is called, it should allow notifications to be received on the phone
2022-06-01 13:20:21 +05:30
Adhiraj Singh
cafc707628 feat: add option to reupload in downloadMediaMessage 2022-06-01 13:19:05 +05:30
Daniel Cardenas
4c95f8f0c5 Update README.md (#1652) 2022-05-23 13:22:54 +05:30
Adhiraj Singh
06437e182d feat: add "multi file auth state" implementation
1. add multi file auth state since it's far more efficient than single state
2. deprecate single file auth state (please don't use it anymore)
2022-05-22 21:21:35 +05:30
Adhiraj Singh
ae4aa67950 feat: handle call events 2022-05-09 15:00:53 +05:30
✬Ravindu Manoj✬ ✓
72aa8f9ea7 Typo Fix (#1577) 2022-05-09 10:00:31 +05:30
Adhiraj Singh
872536fa5b feat: link previews on MD 2022-04-19 19:00:32 +05:30
Meir Blachman
a08cd00107 docs: fix typo in readme (#1483)
* docs: fix typo in readme

 makeSocket -> makeWASocket

* rename sock -> conn
2022-04-17 16:16:37 +05:30
Aman Dutt
fdf957b338 ✏️ Fixed typo (#1488) 2022-04-17 16:16:15 +05:30
Adhiraj Singh
5aa64f2c39 feat: add readMessages function 2022-04-06 09:30:32 +05:30
Muhammad Fatkurozi
6d4fc87169 docs: too many tabs in code preview (#1453)
handling events, connection.update
2022-04-05 10:14:07 +05:30
Arthur Castro
032dcbc17a Fix: typo (#1457) 2022-04-05 10:13:44 +05:30
Alon Schwartzblat
eb8f8e0d72 Add join group by groupInviteMessage (#1355)
* Add join group by groupInviteMessage

* Add join group by groupInviteMessage

* Fix typo
2022-03-25 16:18:00 +05:30
Ami
3a52f06c0f Added ReactionMessage for React User Message with Emoji (#1382)
* Add react type

* Add ReactionMessage

* Add reactionMessage example...

* Lint fix...
2022-03-23 00:35:13 +05:30
Adhiraj Singh
93c8db319e feat: implement "treatCiphertextMessagesAsReal" flag 2022-03-21 14:15:22 +05:30
Dwi Rizqi
2b70269947 Update README.md (#1354) 2022-03-13 21:11:41 +05:30
Adem Kouki
ad340054c4 Fix example link (#1316) 2022-03-04 12:57:20 +05:30
Royhan
636a145a40 simple typo (#1311) 2022-03-03 20:21:59 +05:30
jackcokk
3b756787d4 chore: Update readme Discord link (#1191) 2022-02-08 11:29:27 +05:30
Prince Mendiratta
669dce1ea8 Fix connection example snippet (#1190)
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
2022-01-28 13:56:41 +05:30
Adhiraj Singh
cf4a50cddf chore: update readme 2022-01-22 11:55:15 +05:30
Adhiraj Singh
58e1dd2910 docs: update readme 2022-01-22 11:41:00 +05:30
Prince Mendiratta
c4eea6fd69 minor spelling typo (#1167)
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
2022-01-20 11:18:10 +05:30
Adhiraj Singh
05191ddb72 docs: add info about using legacy version 2022-01-19 22:52:25 +05:30
Adhiraj Singh
1fb52de958 docs: update readme about store 2022-01-19 22:38:04 +05:30
Adhiraj Singh
7bb6e3ceeb refactor: chats.set event 2022-01-16 13:02:38 +05:30
BochilGaming
0b5d772b08 Fix ContactsArrayMessage and add getBusinessProfile (#1074)
* Fix: ContactsArrayMessage and add getBusinessProfile

* delete package-lock.json

* edit readme.md

* add bussines hours

* make type same with leagcy

* revert
2022-01-06 22:15:52 +05:30
Guilherme
3176551a30 MD - Update README.md (#1072)
* Update README.md

* Update README.md
2021-12-29 00:19:03 +05:30
Denis Didenko
415e4ed8a4 fix smallbug readme (#1063) 2021-12-24 11:48:29 +05:30
Adhiraj Singh
c87d8b8129 refactor: update chat modifications to be uniform across MD + legacy 2021-12-21 10:53:39 +05:30
Rajeh Taher
d62db2bbd6 Added List message support and removed "saving auth state" (#1048)
* Added template support and footers for buttons & templates

* Template message readme

* got rid of "saving auth state" and added lists

* added body

* Update README.md
2021-12-19 22:29:35 +05:30
Adhiraj Singh
e51bbc4893 feat: add support for "sharp" for image generation 2021-12-17 11:44:04 +05:30
Adhiraj Singh
78fd72c8e5 feat: implement message retry handling
so if a message fails to decrypt on the other user's end -- it can be retried
2021-12-04 13:47:24 +05:30