Adhiraj Singh
0057deb658
Merge branch 'multi-device' into multi-device-legacy
2021-12-18 19:48:27 +05:30
Adhiraj Singh
37c07937d7
refactor: use constant state & authInfo on legacy
2021-12-18 19:45:58 +05:30
Adhiraj Singh
1e97c7714e
chore: more unification of APIs
2021-12-18 17:01:16 +05:30
Adhiraj Singh
d09025e8dd
fix: ephemeral toggle not being applied correctly on legacy
2021-12-18 17:01:06 +05:30
Adhiraj Singh
9e33c80add
fix: use fetchAgent for uploading data
2021-12-18 16:44:43 +05:30
Adhiraj Singh
e393f0f9a8
chore: make APIs similar for legacy + MD
2021-12-18 16:44:31 +05:30
Adhiraj Singh
d386f2db8b
Implement Legacy Socket Capability in MD Code ( #1041 )
...
* feat: add legacy connection
* fix: merge conflict errors
* feat: functional legacy socket
2021-12-17 20:59:43 +05:30
Adhiraj Singh
c803e22e8a
feat: functional legacy socket
2021-12-17 20:58:33 +05:30
Adhiraj Singh
d8b415a075
fix: merge conflict errors
2021-12-17 19:30:10 +05:30
Adhiraj Singh
be0e2210d9
Merge branch 'multi-device' into multi-device-legacy
2021-12-17 19:28:00 +05:30
Adhiraj Singh
19a9980492
feat: add legacy connection
2021-12-17 19:27:04 +05:30
Adhiraj Singh
38a44be006
perf: experimental do not use fs for enc stream
2021-12-17 18:27:03 +05:30
Adhiraj Singh
e51bbc4893
feat: add support for "sharp" for image generation
2021-12-17 11:44:04 +05:30
Adhiraj Singh
ed30e368ad
fix: tsc error
2021-12-17 11:16:49 +05:30
LyFE
ca12da6269
fix updateBlockStatus,fetchPrivacySettings ( #1034 )
...
* fix updateBlockStatus
* fix fetchPrivacySettings
* Update chats.ts
2021-12-16 23:49:48 +05:30
Adhiraj Singh
4f674d3e26
fix: sending multiple contacts
2021-12-16 23:22:03 +05:30
Adhiraj Singh
6c4a9c7354
fix: sending list of contacts
2021-12-16 23:20:27 +05:30
Adhiraj Singh
9474017930
feat: async import got wherever required
2021-12-16 00:38:53 +05:30
Adhiraj Singh
ef1b01b6df
fix: correctly handle retry from own devices
2021-12-14 00:31:29 +05:30
Adhiraj Singh
d15dd6e1d2
feat: add "direct_path" to media messages
2021-12-13 17:31:20 +05:30
Adhiraj Singh
ea077e9fea
refactor: use abstraction for tmpdir
2021-12-13 13:50:39 +05:30
Adhiraj Singh
13b49e658d
fix: do not fetch empty ID list on transaction
2021-12-12 12:25:03 +05:30
Adhiraj Singh
a21e3b0bac
perf: put main app state sync in transaction
2021-12-12 11:26:19 +05:30
Adhiraj Singh
5624ecf96c
fix: throw connection closed instead of WS error
2021-12-12 11:18:21 +05:30
Adhiraj Singh
0650c10c73
fix: decode app state key correctly
2021-12-12 11:18:04 +05:30
Adhiraj Singh
f284217d35
feat: implement transactions on auth state
2021-12-11 18:28:07 +05:30
Adhiraj Singh
2b8256d56b
feat: cleaner auth state management + store SK keys
...
!BREAKING_CHANGE
2021-12-11 17:54:38 +05:30
Adhiraj Singh
792c4bf0a4
feat: add custom host names
2021-12-11 11:32:12 +05:30
Adhiraj Singh
2b33a5202c
fix: do not retry not fromMe
2021-12-11 10:08:53 +05:30
Adhiraj Singh
a64a5d020b
Merge branch 'multi-device' of https://github.com/adiwajshing/Baileys into multi-device
2021-12-11 00:17:28 +05:30
Adhiraj Singh
0ef9ce166d
fix: set remote jid on quoted participant
2021-12-11 00:17:26 +05:30
Adhiraj Singh
8b1374f6ae
test: add another media test
2021-12-11 00:17:10 +05:30
Guilherme França
b68ab8b8ac
refactor: change pttAudio param to ptt in send audio message as a voice note ( #1002 )
2021-12-11 00:13:03 +05:30
Adhiraj Singh
beac4d21e3
chore: update WS
2021-12-10 13:15:34 +05:30
Adhiraj Singh
7db5bb5d9a
chore: do not throw unhandled error on send messages again, log error
2021-12-10 13:15:02 +05:30
Adhiraj Singh
3cfde73718
chore: update proto
...
Thanks to @tulir for the proto extract script
2021-12-08 14:02:14 +05:30
Adhiraj Singh
49e7ad4b25
fix: typeerror on some group create
2021-12-07 22:09:18 +05:30
Vinicius Silva
1e386480e4
[MD] Added DeviceType ( #946 )
...
* [MD] Added DeviceType
* Update messages.ts
* Update messages.ts
* Delete index.d.ts
* Add files via upload
* Delete messages-recv.ts
* Add files via upload
* Update messages.ts
2021-12-06 08:53:38 +05:30
LightningNeko
7e414a940b
fix group announce and restrict always false ( #971 )
...
* fix group announce and restrict always false
* refactor: make group setting change params in line with WA
Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com >
2021-12-06 08:53:12 +05:30
Adhiraj Singh
cccd9305a2
fix: do not throw error on missing message for retry
2021-12-05 18:05:47 +05:30
LightningNeko
e20e479d74
fix waiting for this message ( #966 )
2021-12-05 01:47:14 +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
HUGEIT
903871d180
potential fix for QR scan. the server may expect these messages to be sent on reconnect after scan ( #959 )
...
* potential fix for QR scan. the server may expect these messages to be sent on reconnect after scan.
* refactor: extract dictionary reduce code into utility
* refactor: convert the props + abt send req to somewhat useful query
Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com >
2021-12-03 18:40:26 +05:30
Adhiraj Singh
d9cfed64ff
fix: bad request on sending messages in some cases
...
Issue source found out by @jackcokk
2021-12-03 15:20:17 +05:30
Adhiraj Singh
7d89b9bb95
chore: update WA version
2021-12-03 15:17:11 +05:30
Adhiraj Singh
9f8223d46b
fix: 10x better compression for image thumbs
2021-12-02 12:13:45 +05:30
Adhiraj Singh
b5ac28d426
feat: implement partial media downloads
2021-12-02 11:38:24 +05:30
Rajeh Taher
cd9c313e47
[MD] Added template support and footers for buttons & templates ( #942 )
...
* Added template support and footers for buttons & templates
* Template message readme
2021-11-30 10:40:54 +05:30
Adhiraj Singh
a8decb9c11
docs: add some comments for "chatModify" + logging for app patch
2021-11-29 23:57:30 +05:30
Adhiraj Singh
0d27fc467b
feat: add sanity check for chat modifications
2021-11-29 23:57:07 +05:30