diff options
Diffstat (limited to 'protocols/Steam/src/steam_polling.cpp')
| -rw-r--r-- | protocols/Steam/src/steam_polling.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp index eadade3d99..bbc05e1451 100644 --- a/protocols/Steam/src/steam_polling.cpp +++ b/protocols/Steam/src/steam_polling.cpp @@ -216,10 +216,10 @@ void CSteamProto::PollingThread(void*) if (!lstrcmpi(error, _T("OK"))) { // Remember last message timestamp - node = json_get(root, "timestamp"); - time_t lastMessageTS = _ttoi64(ptrT(json_as_string(node))); - if (lastMessageTS > getDword("LastMessageTS", 0)) - setDword("LastMessageTS", lastMessageTS); + node = json_get(root, "utc_timestamp"); + time_t timestamp = _ttoi64(ptrT(json_as_string(node))); + if (timestamp > getDword("LastMessageTS", 0)) + setDword("LastMessageTS", timestamp); node = json_get(root, "messagelast"); messageId = json_as_int(node); |
