From 5642f3416a12a558e510fe03f4604c683329ae31 Mon Sep 17 00:00:00 2001 From: James Graham Date: Sat, 26 Oct 2024 12:28:28 +0000 Subject: [PATCH] Pester Network Error Messages Stop sending a pester message using showPassiveNotification every time there is a network error. There is already a proper handling with `isOnline` in `NeochatConnection`. This just causes issues overlapping content. BUG: 488572 --- src/controller.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/controller.cpp b/src/controller.cpp index 9c83cdccb..83fbcd7c9 100644 --- a/src/controller.cpp +++ b/src/controller.cpp @@ -230,9 +230,6 @@ void Controller::invokeLogin() Qt::SingleShotConnection); } }); - connect(connection, &NeoChatConnection::networkError, this, [this](const QString &error, const QString &, int, int) { - Q_EMIT errorOccured(i18n("Network Error: %1", error)); - }); #if Quotient_VERSION_MINOR > 8 connection->assumeIdentity(account.userId(), account.deviceId(), accessToken); #else