Page MenuHomePhabricator

[keyserver][lib][native] Add urlPrefix to keyserverStore
ClosedPublic

Authored by inka on Aug 15 2023, 6:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 2, 10:17 PM
Unknown Object (File)
Wed, Oct 2, 10:17 PM
Unknown Object (File)
Wed, Oct 2, 10:17 PM
Unknown Object (File)
Wed, Oct 2, 10:13 PM
Unknown Object (File)
Wed, Oct 2, 2:54 AM
Unknown Object (File)
Fri, Sep 20, 2:56 AM
Unknown Object (File)
Sat, Sep 14, 1:54 PM
Unknown Object (File)
Sun, Sep 8, 8:55 AM
Subscribers

Details

Summary

issue: https://linear.app/comm/issue/ENG-4459/refactor-urlprefix-field
urlPrefix needs to be moved to keyserverStore. In next diffs I will start using this value and remove the urlPrefix from where it was previously (BaseAppState).
For now we are updating the urlPrefix of "Ashoat's keyserver" when we want to connect to a different keyserver. During https://linear.app/comm/issue/ENG-4130/settings-panel-for-keyserver-selection some logic will be written, that will allow to add a new keyserver instead. Then, setUrlPrefix will be used only if the keyserver changes it's url, not as a way of connecting to a different keyserver

Test Plan

Ran yarn flow-all

Diff Detail

Repository
rCOMM Comm
Branch
inka/redux
Lint
No Lint Coverage
Unit
No Test Coverage