diff options
-rw-r--r-- | protocols/Steam/src/steam_contacts.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp index 39bd619363..6e95c48805 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 - /*node = json_get(data, "personastate"); - status = SteamToMirandaStatus(json_as_int(node)); + // 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)); SetContactStatus(hContact, status); - */ // client node = json_get(data, "personastateflags"); |