diff options
author | LittleVulpix <rinnkazul@gmail.com> | 2018-02-03 10:48:09 +0100 |
---|---|---|
committer | Alex <aunsane@gmail.com> | 2018-02-03 19:08:43 +0300 |
commit | 8b66865f9082099a0735ef82ca5eaa88c1b548b4 (patch) | |
tree | cced73c1367ffea87e6f8b432b9550a1cdbbb21d | |
parent | 5c145450b7aa7d4a59a7565d196fe67cec4f8880 (diff) |
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.
-rw-r--r-- | protocols/Steam/src/steam_login.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 +} |