From 52f85748ccc38fbdd3ff18322ea780b8155da39d Mon Sep 17 00:00:00 2001 From: aunsane Date: Wed, 17 Jan 2018 23:17:34 +0300 Subject: Steam: fixed #1107 --- protocols/Steam/src/steam_contacts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp index 2d11ef2d37..c62b309da6 100644 --- a/protocols/Steam/src/steam_contacts.cpp +++ b/protocols/Steam/src/steam_contacts.cpp @@ -149,7 +149,7 @@ void CSteamProto::UpdateContactDetails(MCONTACT hContact, const JSONNode &data) setDword(hContact, "LogoffTS", node.as_int()); // status - node = data["lastlogoff"]; + node = data["personastate"]; // note: this here is often wrong info, probably depending on publicity of steam profile // but sometimes polling does not get status at all WORD oldStatus = getWord(hContact, "Status", ID_STATUS_OFFLINE); -- cgit v1.2.3