From 71bb9529a122f347b62dee2a20c81becc51b5ac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 18 Dec 2016 17:57:20 +0100 Subject: 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. --- protocols/Steam/src/steam_contacts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Steam') 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"); -- cgit v1.2.3