summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-07-10 18:47:49 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-07-10 18:47:49 +0300
commitbef9b685baa605df0739f4c5fe380093db2851ef (patch)
treef22a4ecbdaf87937c3d07c57be8864014ed3386d /protocols/Steam/src/api
parent3e13a0dcca1aeccd5c5272ab046736dd0f33ffa5 (diff)
fixes #3112 (Steam plugin will not stay connected for more than 1-2 minutes)
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());
}
//{