Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3387540
D11185.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
982 B
Referenced Files
None
Subscribers
None
D11185.diff
View Options
diff --git a/lib/socket/request-response-handler.react.js b/lib/socket/request-response-handler.react.js
--- a/lib/socket/request-response-handler.react.js
+++ b/lib/socket/request-response-handler.react.js
@@ -21,7 +21,6 @@
type SocketListener,
type ConnectionInfo,
} from '../types/socket-types.js';
-import { authoritativeKeyserverID } from '../utils/authoritative-keyserver.js';
import { ServerError, SocketTimeout } from '../utils/errors.js';
import { useSelector, useDispatch } from '../utils/redux-utils.js';
@@ -141,9 +140,7 @@
const ConnectedRequestResponseHandler: React.ComponentType<BaseProps> =
React.memo<BaseProps>(function ConnectedRequestResponseHandler(props) {
- const connection = useSelector(
- connectionSelector(authoritativeKeyserverID()),
- );
+ const connection = useSelector(connectionSelector(props.keyserverID));
invariant(connection, 'keyserver missing from keyserverStore');
const dispatch = useDispatch();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 9:56 AM (20 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2600499
Default Alt Text
D11185.diff (982 B)
Attached To
Mode
D11185: [lib] Check keyserver connection in request-response-handler
Attached
Detach File
Event Timeline
Log In to Comment