From 8265334b6451b8a4f5b0875e2aa0b2371183ac26 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Fri, 1 Jan 2021 23:36:12 -0500 Subject: [PATCH] Disable checking cunty github for updates --- src/rpc.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/rpc.cpp b/src/rpc.cpp index fdb2c64..4719e62 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -1,14 +1,12 @@ // Copyright 2019-2021 The Hush Developers // Released under the GPLv3 #include "rpc.h" - #include "addressbook.h" #include "settings.h" #include "senttxstore.h" #include "version.h" #include "websockets.h" - RPC::RPC(MainWindow* main) { auto cl = new ConnectionLoader(main, this); @@ -94,7 +92,7 @@ void RPC::setConnection(Connection* c) { // Refresh the UI refreshPrice(); - checkForUpdate(); + //checkForUpdate(); // Force update, because this might be coming from a settings update // where we need to immediately refresh @@ -1025,12 +1023,15 @@ void RPC::watchTxStatus() { } void RPC::checkForUpdate(bool silent) { + // Disable update checks for now + // TODO: Use Gitea API + return; qDebug() << "checking for updates"; if (conn == nullptr) return noConnection(); - QUrl cmcURL("https://api.github.com/repos/MyHush/SilentDragon/releases"); + QUrl cmcURL("https://fuck.github.com/repos/MyHush/SilentDragon/releases"); QNetworkRequest req; req.setUrl(cmcURL);