[lib] Remove logout / delete account / identity login logic from specific reducers
Summary:
issue: ENG-6424
Removing logic handling logout and delete account actions from specific reducers, because now we are removing all this state in one place using resetUserSpecificStateOnIdentityActions (see D10860)
I didn't remove logic from the following reducers:
- reduceCurrentUserInfo, because these actions set a new currentUserInfo
- reduceReportStore, because we set some special values to enabledReports on those actions
- reduceKeyserverStore, baceuse we have to handle Ashoat's keyserver in a special way
Test Plan: Tested that it's possible to log out and back in, and no errors show up. Tested that on logout success state is still cleared
Reviewers: michal, kamil, ginsu
Reviewed By: ginsu
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D10868