Modifying the keyserver by setting a parameter of a hook appeared to be really complicated when we don't know the keyserver when rendering a component. This diff allows overriding when calling a function.
Depends on D10308
Differential D10311
[lib] Allow overriding a keyserver in a function returned from useKeyserverCall hook tomek on Dec 12 2023, 4:12 AM. Authored by Tags None Referenced Files
Subscribers
Details Modifying the keyserver by setting a parameter of a hook appeared to be really complicated when we don't know the keyserver when rendering a component. This diff allows overriding when calling a function. Depends on D10308 Check if calling link verification works with default and overridden keyserver.
Diff Detail
Event Timeline
Comment Actions Probably fix the override. This still requires a lot of testing and thinking about Comment Actions This diff still has an issue: when calling a new keyserver, it returns sessionChange which causes setNewSession to be dispatched - this results in the keyserver being added to a store in an incorrect way and breaks more things down the line. Comment Actions I'm seeing the same thing with the getVersion call in the new registration flow. Created ENG-6097 to track. |