summaryrefslogtreecommitdiff
path: root/protocols/Steam
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-12-18 17:57:20 +0100
committerRobert Pösel <robyer@seznam.cz>2016-12-18 18:01:25 +0100
commit71bb9529a122f347b62dee2a20c81becc51b5ac8 (patch)
tree1cee42734b443da2373a72906c807e3fa4b335b7 /protocols/Steam
parentfe1d2e6fd5d77885e3efe0339e03b2fec7002b0b (diff)
Steam: Attempt to fix not loading contact statuses at login (addresses #646) (reverted from commit e0c07918e5644a6927b2408cc4f35a367f59344a)
This was bad idea. It makes contacts online even when they aren't anymore.
Diffstat (limited to 'protocols/Steam')
-rw-r--r--protocols/Steam/src/steam_contacts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp
index 6e95c48805..39bd619363 100644
--- a/protocols/Steam/src/steam_contacts.cpp
+++ b/protocols/Steam/src/steam_contacts.cpp
@@ -173,10 +173,10 @@ void CSteamProto::UpdateContact(MCONTACT hContact, JSONNode *data)
// status
// NOTE: this here is wrong info, probably depending on publicity of steam profile, but we don't need this at all, we get status updates by polling
- // NOTE: polling won't always give us info about all contacts (e.g. in case of quick disconnect and reconnect), so we try to use this anyway
- node = json_get(data, "personastate");
- WORD status = SteamToMirandaStatus(json_as_int(node));
+ /*node = json_get(data, "personastate");
+ status = SteamToMirandaStatus(json_as_int(node));
SetContactStatus(hContact, status);
+ */
// client
node = json_get(data, "personastateflags");