From 4c04e27349415a4e9b21f74a00cfcfddba609934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 20 Dec 2015 10:58:33 +0000 Subject: Steam: Fix getting SessionID to be able to use web api again But maybe it could be done simpler - not with this one new request. git-svn-id: http://svn.miranda-ng.org/main/trunk@15910 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_proto.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/Steam/src/steam_proto.cpp') diff --git a/protocols/Steam/src/steam_proto.cpp b/protocols/Steam/src/steam_proto.cpp index 8644f9fa50..8d70098aa0 100644 --- a/protocols/Steam/src/steam_proto.cpp +++ b/protocols/Steam/src/steam_proto.cpp @@ -325,7 +325,8 @@ int CSteamProto::SetStatus(int new_status) requestQueue->Start(); ptrA token(getStringA("TokenSecret")); - if (mir_strlen(token) > 0) + ptrA sessionId(getStringA("SessionID")); + if (mir_strlen(token) > 0 && mir_strlen(sessionId) > 0) { PushRequest( new LogonRequest(token), -- cgit v1.2.3