Adhiraj Singh
110b9d1f09
fix: transaction not respecting null set
2021-12-22 21:37:27 +05:30
burstfreeze
98af4a6624
Fix #1010 by asking for full list of sync states when needed ( #1043 )
...
* Process patches that are longer.
* Fixed type declaration
* Changed resync behavior from recusive to iterative
* refactor: cleaner handling of hasMorePatches
Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com >
2021-12-22 20:57:58 +05:30
Adhiraj Singh
4710f6603a
fix: delete chat on legacy
2021-12-21 17:21:25 +05:30
Adhiraj Singh
c87d8b8129
refactor: update chat modifications to be uniform across MD + legacy
2021-12-21 10:53:39 +05:30
Adhiraj Singh
677f50baaa
feat: add contacts to chats.set event
2021-12-20 13:59:04 +05:30
Adhiraj Singh
e9d90aa0a5
fix: remove dup eventemitter
2021-12-20 13:58:39 +05:30
Adhiraj Singh
258b2f2747
chore: update legacy connection close msgs
2021-12-20 12:37:18 +05:30
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