Skip to content

Instantly share code, notes, and snippets.

@Ashoat

Ashoat/.patch Secret

Created December 20, 2023 21:50
Show Gist options
  • Save Ashoat/9b8037bb8dbf5f039a94b8868a40958f to your computer and use it in GitHub Desktop.
Save Ashoat/9b8037bb8dbf5f039a94b8868a40958f to your computer and use it in GitHub Desktop.
diff --git a/lib/shared/keyserver-utils.js b/lib/shared/keyserver-utils.js
index 829265f6b9..dfd277d8f2 100644
--- a/lib/shared/keyserver-utils.js
+++ b/lib/shared/keyserver-utils.js
@@ -40,7 +40,7 @@ function useIsKeyserverURLValid(keyserverURL?: string): () => Promise<boolean> {
await getVersionPromise;
return true;
} catch (e) {
- return false;
+ return true;
}
}, [dispatchActionPromise, getVersionCall, keyserverURL]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment