Alan Mosko
05dd53e2ce
wip
2023-01-17 11:29:10 -03:00
Alan Mosko
c398aa3ca4
Merge branch 'master' into poll
2023-01-16 11:46:20 -03:00
Adhiraj Singh
5efb0ebbea
chore: remove mutex-start log
2023-01-13 10:20:28 +05:30
Alan Mosko
78f04d8714
wip
2023-01-11 23:58:29 -03:00
Adhiraj Singh
5041be776e
feat: handle futureproofmessage
2022-12-23 16:58:39 +05:30
kaatt
474dc78d24
add viewOnceMessageV2
2022-12-23 16:58:39 +05:30
kaatt
fb1d39eba4
Update messages.ts
...
Co-Authored-By: Adhiraj Singh <adhirajsingh1001@gmail.com >
2022-12-23 16:58:39 +05:30
kaatt
39bd5b1c94
fix
2022-12-23 16:58:39 +05:30
kaatt
004bb98b59
remove console.log
2022-12-23 16:58:39 +05:30
kaatt
02e05aba42
improve normalizeMessageContent
2022-12-23 16:58:39 +05:30
Adhiraj Singh
c96a7652d9
feat: add nextPageCursor
2022-12-08 13:30:31 +05:30
Adhiraj Singh
30e2cb5c4c
refactor: impl counter based event buffer
...
1. counter based event buffer keeps track of the number of blocks that request event processing in buffer
2. event buffer only releases events when the last block completes (i.e. counter = 0)
this approach is far simpler than the promised based garbled crap I wrote, should also prevent the deadlock issues it introduced 🙏
2022-12-02 11:31:42 +05:30
Adhiraj Singh
a589e88136
fix: do not add to pre-buffer if waiting for end
2022-11-26 00:37:38 +05:30
Adhiraj Singh
bcf33d786c
chore: log mutex deadlocks
2022-11-25 22:00:25 +05:30
Adhiraj Singh
b20a3b9a6a
chore: add timeout to log when buffer takes v long
...
helps debug deadlocks
2022-11-25 09:03:05 +05:30
Adhiraj Singh
f1ca770930
chore: add "documentWithCaptionMessage" to normalise msg
2022-11-23 10:50:54 +05:30
Leonardo Bein
704aa1e434
feat: Add notification group: change inviteCode
2022-11-22 12:02:31 +05:30
Adhiraj Singh
26828d3dea
fix: do not generate preview if title not present
2022-11-17 11:27:08 +05:30
Adhiraj Singh
b33c753928
feat: add url options to link preview gen
2022-11-17 11:08:01 +05:30
kaatt
cd9441fd0e
Update messages-media.ts
2022-11-14 16:26:23 +05:30
kaatt
5c950dac10
fix getImageProcessingLibrary usage
2022-11-14 16:26:23 +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
f892a1e81f
fix: duplicate mutation release on failed patch
2022-11-08 22:28:27 +05:30
Adhiraj Singh
e547310a19
fix: add history msg to creds.update to prevent race condition
2022-11-07 17:22:19 +05:30
Adhiraj Singh
211fd04b24
chore: add preBufferTraces for logging
2022-11-07 17:21:57 +05:30
Adhiraj Singh
02f9df5de4
fix: check for content in "isRealMessage"
2022-11-07 14:40:08 +05:30
Adhiraj Singh
a4a48a1969
feat: expose isBuffering
2022-11-07 09:28:46 +05:30
Adhiraj Singh
154926ec3c
chore: correctly throw app state key not found
2022-11-06 20:06:50 +05:30
Adhiraj Singh
4352a84498
chore: log app state key recv
2022-11-06 20:06:14 +05:30
Adhiraj Singh
2a8ce563a2
chore: remove redundant newMutations log
2022-11-06 19:51:45 +05:30
Adhiraj Singh
5e28d23460
fix: msgs not appearing in chat
2022-11-03 21:30:05 +05:30
Adhiraj Singh
070e24e3fd
fix: tsc issue
2022-10-24 11:38:57 +05:30
Adhiraj Singh
b9d13a57d8
feat: update real msg logic
2022-10-23 17:24:54 +05:30
Adhiraj Singh
48abf73e57
chore: export process-message utils
2022-10-23 17:11:17 +05:30
Leonardo Bein
2b854b37e4
fix: file not found in unlink
2022-10-18 09:39:48 +05:30
kaatt
c59952f2ee
fix extractImageThumb threw with webpack ( #2266 )
...
* fix extractImageThumb threw with webpack
* Update messages-media.ts
* Update src/Utils/messages-media.ts
* fix: typescript errors
Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com >
2022-10-18 09:31:32 +05:30
Adhiraj Singh
e710ed96f9
fix: unarchive chats if reaction to my message
2022-10-17 12:53:47 +05:30
Adhiraj Singh
7736114fab
chore: remove pre-fetch from transaction store
2022-10-09 12:19:33 +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
e08dd10198
refactor!: use proto.Conversation's own chat mutation fields instead of baileys added
2022-09-29 11:06:09 +05:30
Adhiraj Singh
bb983cd30d
chore: reduce logging
2022-09-28 10:40:29 +05:30
Adhiraj Singh
f01f5df4f5
chore: remove redundant Buffer.from
2022-09-28 10:40:18 +05:30
Adhiraj Singh
6735263696
feat: add makeCacheableSignalKeyStore util
2022-09-20 12:16:05 +05:30
Adhiraj Singh
28afa96cb9
chore: make arg optional in fetchLatestBaileysVersion
2022-09-20 12:15:33 +05:30
Adhiraj Singh
5aaefa94d6
chore: remove single file auth state
2022-09-20 12:00:37 +05:30
Adhiraj Singh
ae3ac78dc3
feat: pass axios config to all axios instances
2022-09-19 17:46:43 +05:30