[lib] add conditions for adding keyserver to the keyserver store
Summary:
This diff adds two conditions for adding a new keyserver to the keyserver store. The first condition resets the keyserver store whenever we logout/delete account/or change session, the second adds the keyserver into the keyserver store
Making @inka a blocking reviewer since she is currently working a lot with this file and I want to make sure that these changes don't interfere with anything that is currently "in flight"
Linear task: https://linear.app/comm/issue/ENG-5342/add-a-condition-for-the-new-addkeyserveractiontype
Depends on D9591
Test Plan:
Confirmed that the keyserver was added to the keyserver store
Logs of the keyserver store where I added a dummy keyserver info
Reviewers: inka, rohan, michal
Reviewed By: inka
Subscribers: inka, ashoat, tomek, wyilio
Differential Revision: https://phab.comm.dev/D9664