Commit Graph

726 Commits

Author SHA1 Message Date
Adhiraj Singh
dbed7fef74 chore: add profile picture timeout 2021-12-20 12:36:32 +05:30
Adhiraj Singh
c1301deda0 fix: correctly copy msg for forward 2021-12-20 11:12:21 +05:30
Adhiraj Singh
ed4f234fd8 fix: buttonText should be optional 2021-12-19 22:40:16 +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
db941f1472 fix: download on axios 2021-12-19 22:25:17 +05:30
LyFE
072706368c fix groupMetdata (#1049) 2021-12-19 22:10:18 +05:30
Adhiraj Singh
bacd046a4e fix: tsc error for DOM 2021-12-19 20:20:22 +05:30
Adhiraj Singh
9068157cb1 chore: replace got with axios
Primarily because it had some odd issues with handling streams
2021-12-19 20:18:21 +05:30
Adhiraj Singh
61d1300dae chore: expose admintest + cleaner initial state update 2021-12-19 14:48:09 +05:30
Adhiraj Singh
9d7aec11da feat: add more logging to media 2021-12-19 14:35:51 +05:30
Adhiraj Singh
2696af4da1 fix: catch unknown user action 2021-12-19 00:35:15 +05:30
Adhiraj Singh
af0804048c fix: incorrect enc msg detection 2021-12-19 00:33:33 +05:30
Adhiraj Singh
89a159aac3 fix: clear debounce timeout on close 2021-12-18 23:33:55 +05:30
Adhiraj Singh
1af46bfb3d fix: group metadata mapping on legacy 2021-12-18 23:20:50 +05:30
Adhiraj Singh
ae59d6e9c6 fix: fire "connection-update" on legacy socket create 2021-12-18 22:30:03 +05:30
Adhiraj Singh
f61f553e01 chore: more unification of legacy APIs
1. unify waitForConnectionUpdate
2. unify printing QR in terminal
2021-12-18 22:18:51 +05:30
Adhiraj Singh
02dd8c93a6 chore: fix types 2021-12-18 19:56:58 +05:30
Adhiraj Singh
a723b50741 chore: add type distinguisher for sockets 2021-12-18 19:54:08 +05:30
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