summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/api')
-rw-r--r--protocols/Steam/src/api/poll.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/Steam/src/api/poll.h b/protocols/Steam/src/api/poll.h
index 0487411c6c..a8f0ac3edb 100644
--- a/protocols/Steam/src/api/poll.h
+++ b/protocols/Steam/src/api/poll.h
@@ -5,7 +5,7 @@ class PollRequest : public HttpRequest
{
public:
PollRequest(CSteamProto *ppro) :
- HttpRequest(HttpPost, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Poll/v1")
+ HttpRequest(HttpPost, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Poll/v0001")
{
timeout = (STEAM_API_TIMEOUT + 5) * 1000;
// flags |= NLHRF_PERSISTENT;
@@ -16,8 +16,7 @@ public:
<< CHAR_PARAM("access_token", ppro->getMStringA("TokenSecret"))
<< CHAR_PARAM("umqid", ppro->getMStringA("UMQID"))
<< INT64_PARAM("message", ppro->getDword("MessageID"))
- << INT_PARAM("secidletime", ppro->IdleSeconds())
- << INT_PARAM("sectimeout", STEAM_API_TIMEOUT);
+ << INT_PARAM("secidletime", ppro->IdleSeconds());
}
//{