+
+ Your app version is pretty old, and the server doesn’t know how to speak
+ to it anymore. {actionRequestMessage}.
+
+
+ );
+}
+
+type Props = {
+ +keyserverID: string,
+};
+
+function SingleKeyserverMinVersionHandler(props: Props): null {
+ const { keyserverID } = props;
+
+ const connectionIssue = useSelector(
+ state =>
+ state.keyserverStore.keyserverInfos[keyserverID].connection
+ .connectionIssue,
+ );
+
+ const { pushModal } = useModalContext();
+
+ const prevConnectionIssueRef = React.useRef(null);
+
+ React.useEffect(() => {
+ if (
+ connectionIssue === 'client_version_unsupported' &&
+ connectionIssue !== prevConnectionIssueRef.current
+ ) {
+ prevConnectionIssueRef.current = connectionIssue;
+ pushModal(