From 8b66865f9082099a0735ef82ca5eaa88c1b548b4 Mon Sep 17 00:00:00 2001 From: LittleVulpix Date: Sat, 3 Feb 2018 10:48:09 +0100 Subject: Don't show unknown login error as a notification There is no need to show this error as a notification because it generally happens when there is no connectivity and none of the other protocols behave this way. --- protocols/Steam/src/steam_login.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/Steam') diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp index 30bfc22981..5eaa7609af 100644 --- a/protocols/Steam/src/steam_login.cpp +++ b/protocols/Steam/src/steam_login.cpp @@ -340,7 +340,6 @@ void CSteamProto::OnLoggedOn(const HttpResponse &response, void*) if (!response.IsSuccess()) { // Probably timeout or no connection, we can do nothing here debugLogA(__FUNCTION__ ": unknown login error"); - ShowNotification(TranslateT("Unknown login error.")); SetStatus(ID_STATUS_OFFLINE); return; } @@ -408,4 +407,4 @@ void CSteamProto::OnReLogin(const JSONNode &root, void*) long messageId = root["message"].as_int(); setDword("MessageID", messageId); -} \ No newline at end of file +} -- cgit v1.2.3