summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-01-17 23:17:34 +0300
committeraunsane <aunsane@gmail.com>2018-01-17 23:17:54 +0300
commit52f85748ccc38fbdd3ff18322ea780b8155da39d (patch)
treec1cc45af2ee9d2d57e2e1eb86d8c3416af8de8db /protocols
parentdcfb8826d85930581d179164afb1522c88074b2d (diff)
Steam: fixed #1107
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Steam/src/steam_contacts.cpp2
1 files changed, 1 insertions, 1 deletions
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);