Commit Graph

35 Commits

Author SHA1 Message Date
Adhiraj Singh
9a39a46398 feat: add toggle to download history 2022-05-22 17:23:30 +05:30
Adhiraj Singh
ae4aa67950 feat: handle call events 2022-05-09 15:00:53 +05:30
Adhiraj Singh
221b95050f chore: make use of "msgRetryCounterMap" more explicit 2022-05-01 11:44:51 +05:30
Adhiraj Singh
fd9daf8ad3 refactor: remove redundant stream:error handling 2022-04-25 13:27:25 +05:30
Adhiraj Singh
f421f5d387 feat: customize link preview image width 2022-04-19 19:12:24 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
d21a39c302 feat: add product API for legacy connections 2022-02-24 17:58:37 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh
793b23cb21 refactor: history processing
1. fixes issue when some chats/messages are not synced
2. adds info about whether the history chunk is the latest
2022-01-16 12:51:08 +05:30
Adhiraj Singh
ede40b16f1 fix: update MD mismatch error code
Because 403 can mean other things as well -- don't want to conflate the two
2022-01-11 11:00:19 +05:30
BochilGaming
0b5d772b08 Fix ContactsArrayMessage and add getBusinessProfile (#1074)
* Fix: ContactsArrayMessage and add getBusinessProfile

* delete package-lock.json

* edit readme.md

* add bussines hours

* make type same with leagcy

* revert
2022-01-06 22:15:52 +05:30
Adhiraj Singh
9c0a3b8962 feat: add option to specify limit for custom upload host 2022-01-03 12:40:55 +05:30
Adhiraj Singh
e9d90aa0a5 fix: remove dup eventemitter 2021-12-20 13:58:39 +05:30
Adhiraj Singh
19a9980492 feat: add legacy connection 2021-12-17 19:27:04 +05:30
Adhiraj Singh
792c4bf0a4 feat: add custom host names 2021-12-11 11:32:12 +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
Adhiraj Singh
6e830c1e1b feat: enforce default timeout to prevent any hanging promises 2021-11-25 19:54:56 +05:30
Adhiraj Singh
d523bf8981 feat: detect when multi-device beta not joined 2021-11-20 17:20:06 +05:30
Adhiraj Singh
3d0704a317 feat: cleaner auth state management
1. removes the "auth-state.update" event since it was bloated and fairly unnecessary
2. adds "creds.update" event that only sends the updated properties of the auth credentials
3. ensure the auth creds are not mutated anywhere, but only with the "creds.update" event
4. Separates the signal credentials from the auth credentials (kinda in progress)
5. in memory key store requires a save function to let one know when to save the keys

!BREAKING_CHANGE
2021-11-20 16:21:56 +05:30
Adhiraj Singh
9ed4c28b8e fix: minor retry logic cleanup 2021-11-15 09:09:55 +05:30
Adhiraj Singh
469f3451d2 feat: catch groups create notification 2021-11-10 19:46:25 +05:30
Adhiraj Singh
3e54741042 feat: cache media uploads 2021-11-10 19:22:00 +05:30
Adhiraj Singh
dee815448b feat: cache user devices 2021-11-07 19:51:14 +05:30
Adhiraj Singh
e84002d807 add emitOwnEvents 2021-10-01 13:46:19 +05:30
Adhiraj Singh
173d1ddf8b implement chat modifications 2021-09-29 12:31:22 +05:30
Adhiraj Singh
f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30
Adhiraj Singh
8a014df1c5 separate data structure for presence 2021-08-24 11:00:37 +05:30
Adhiraj Singh
b5ee036ae9 update proto 2021-07-29 20:33:19 +05:30
Adhiraj Singh
5c4a317213 update proto + message info 2021-07-29 13:34:02 +05:30
Adhiraj Singh
8a5e6489c0 patch messages.update 2021-07-18 21:41:50 +05:30
Adhiraj Singh
6751b5cc73 make deps optional + bug fixes 2021-07-18 17:27:23 +05:30
Adhiraj Singh
e65f060664 update broadcast lists 2021-07-16 23:48:43 +05:30
Adhiraj Singh
71e34fc5f8 Cleanup + add remaining utils 2021-07-12 23:50:08 +05:30
Adhiraj Singh
89cf8004e9 Wrap up connection + in memory store 2021-07-09 20:35:07 +05:30
Adhiraj Singh
5be4a9cc2c remove all files 2021-07-07 23:20:11 +05:30