From 1c476a60f4c9e5afcf22417fc720a91c5b0a887b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 20 Dec 2015 03:36:47 +0000 Subject: Steam: Fix "Go to email domain" in Steam Guard dialog (broken probably since r12594) git-svn-id: http://svn.miranda-ng.org/main/trunk@15906 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_login.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp index 7bf093951f..a063870600 100644 --- a/protocols/Steam/src/steam_login.cpp +++ b/protocols/Steam/src/steam_login.cpp @@ -171,6 +171,10 @@ void CSteamProto::OnAuthorizationError(const JSONNode &node) std::string domain = node["emaildomain"].as_string(); + // Make absolute link + if (domain.find("://") == std::string::npos) + domain = "http://" + domain; + CSteamGuardDialog guardDialog(this, domain.c_str()); if (guardDialog.DoModal() != DIALOG_RESULT_OK) { -- cgit v1.2.3