Commit Graph

149 Commits

Author SHA1 Message Date
Adhiraj Singh
7f2384a058 feat: support caption in document 2022-11-22 17:18:37 +05:30
Leonardo Bein
704aa1e434 feat: Add notification group: change inviteCode 2022-11-22 12:02:31 +05:30
Adhiraj Singh
47900eae14 feat: add listReply 2022-11-13 12:23:22 +05:30
Adhiraj Singh
b2aa51a13d feat: add custom patchMsg function + remove patch for btns 2022-11-12 19:31:11 +05:30
Adhiraj Singh
a58b73fba5 feat: allow ignoring jids 2022-11-11 09:31:49 +05:30
Adhiraj Singh
4aadc9dc6c fix: add option for appStateMacVerification 2022-11-08 22:33:53 +05:30
Adhiraj Singh
6663357a37 feat: handle default disappearing mode change notifications 2022-10-12 19:11:14 +05:30
Adhiraj Singh
7736114fab chore: remove pre-fetch from transaction store 2022-10-09 12:19:33 +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
e08dd10198 refactor!: use proto.Conversation's own chat mutation fields instead of baileys added 2022-09-29 11:06:09 +05:30
Adhiraj Singh
b329c73b20 feat: handle picture change events 2022-09-27 11:28:41 +05:30
Adhiraj Singh
6735263696 feat: add makeCacheableSignalKeyStore util 2022-09-20 12:16:05 +05:30
Adhiraj Singh
116b30dff0 feat: expose axios options 2022-09-19 17:25:54 +05:30
Adhiraj Singh
e7f6838fa4 chore: remove legacy code 2022-09-19 14:59:35 +05:30
Adhiraj Singh
586db48d2b feat: pass original thumbnail url in WAUrlInfo 2022-09-15 18:50:23 +05:30
Adhiraj Singh
f0bdb12e56 feat: generate high quality thumbs on link preview 2022-09-15 18:40:22 +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
Adhiraj Singh
765dcc1d1f fix: upload for product 2022-09-02 20:10:13 +05:30
Adhiraj Singh
c76c2afa0c feat: add "receivedInitialSync" connection update 2022-08-19 10:48:27 +05:30
Adhiraj Singh
c5917364ba chore: add stronger lint rules 2022-08-18 10:37:40 +05:30
Adhiraj Singh
19484e5cfc fix: fire init queries toggle 2022-08-12 09:05:58 +05:30
Adhiraj Singh
1550fc5ce6 fix: error in type 2022-08-08 16:55:47 +05:30
Adhiraj Singh
8a234e1073 feat: implement product message sending 2022-08-08 16:25:20 +05:30
Adhiraj Singh
bed9e384ba feat: added played receipt 2022-08-04 11:55:35 +05:30
Rajeh Taher
fdb1b9e89b Implementing Delete messages for everyone (group) 2022-08-04 08:04:12 +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
fadiinho
f2917f0a6d feat: add option to set timeout between each qr generation 2022-07-30 14:12:50 +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
Adhiraj Singh
4c60e311f4 feat: correctly send retry messages w count 2022-07-13 10:34:13 +05:30
Adhiraj Singh
40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +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
Adhiraj Singh
eaf0f37d24 refactor: use event-buffer for state sync resyncs 2022-06-27 14:51:26 +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
baa3919a17 chore: add back "messages" to chat 2022-06-24 12:23:50 +05:30
Adhiraj Singh
721d0f32d6 feat: handle bad message acks + send retry to all correctly 2022-06-22 14:50:48 +05:30
4l3dx
084c39ca73 fix: add missing isAnimated flag (#1767) 2022-06-22 10:44:16 +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
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
Adhiraj Singh
32fadda86a feat: add button reply 2022-06-13 16:22:28 +05:30
Adhiraj Singh
b125638253 fix: add missing "isLatest" flag 2022-06-13 12:53:20 +05:30
Adhiraj Singh
f87f89329b perf: avoid excess memory usage when syncing state 2022-06-11 20:25:57 +05:30
Adhiraj Singh
5cb71ac862 feat: more accurately handle app state sync 2022-06-11 12:02:08 +05:30
Adhiraj Singh
79518787b6 feat: prevent urlInfo gen 2022-06-10 09:52:36 +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
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
06ce5f9be0 feat: add media retry for MD 2022-06-01 13:04:45 +05:30
Adhiraj Singh
ed557967d1 chore: make "auth" mandatory in SocketConfig 2022-05-25 12:13:17 +05:30
Adhiraj Singh
e131b7c4d3 feat: pass cachedGroupMetadata from sendMessage 2022-05-23 11:32:51 +05:30