summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_contacts.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-04-10 19:33:27 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-04-10 19:33:27 +0000
commitab05a30ab1f725e421287bf8158508c3ba3eddd3 (patch)
treeccbbd21993e21a9e8a6d358d0216e980b1818e65 /protocols/Steam/src/steam_contacts.cpp
parenta1ef91459fb0a353c9919c1b8ff349efdf162b3c (diff)
Steam: small fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8938 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r--protocols/Steam/src/steam_contacts.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp
index 52f59ab466..dd461c909c 100644
--- a/protocols/Steam/src/steam_contacts.cpp
+++ b/protocols/Steam/src/steam_contacts.cpp
@@ -48,6 +48,16 @@ void CSteamProto::UpdateContact(MCONTACT hContact, const SteamWebApi::FriendApi:
// only for contacts
if (hContact)
{
+ /*{
+ "type": "personastate",
+ "timestamp" : 130789088,
+ "utc_timestamp" : 1397151246,
+ "steamid_from" : "76561198010620323",
+ "status_flags" : 863,
+ "persona_state" : 4,
+ "persona_name" : "necrostorm"
+ }*/
+
setWord(hContact, "Status", SteamToMirandaStatus(contact->GetState()));
setDword(hContact, "LastEventDateTS", contact->GetLastEvent());
}