Commit Graph

12 Commits

Author SHA1 Message Date
Adhiraj Singh
2cc5cc2dd4 Revert "feat: resync main app state on first open"
This reverts commit 060c838707.
2022-04-12 17:08:10 +05:30
Adhiraj Singh
060c838707 feat: resync main app state on first open 2022-04-08 23:29:36 +05:30
Adhiraj Singh
0d94315776 feat: handle unarchiveChats setting 2022-04-07 11:29:57 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh
110b9d1f09 fix: transaction not respecting null set 2021-12-22 21:37:27 +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
13b49e658d fix: do not fetch empty ID list on transaction 2021-12-12 12:25:03 +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
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