diff options
Diffstat (limited to 'protocols/Steam/src/api/poll.h')
-rw-r--r-- | protocols/Steam/src/api/poll.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Steam/src/api/poll.h b/protocols/Steam/src/api/poll.h index a8f0ac3edb..9de2ed32d3 100644 --- a/protocols/Steam/src/api/poll.h +++ b/protocols/Steam/src/api/poll.h @@ -5,14 +5,14 @@ class PollRequest : public HttpRequest { public: PollRequest(CSteamProto *ppro) : - HttpRequest(HttpPost, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Poll/v0001") + HttpRequest(REQUEST_POST, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Poll/v0001") { timeout = (STEAM_API_TIMEOUT + 5) * 1000; // flags |= NLHRF_PERSISTENT; - Headers << CHAR_PARAM("Connection", "keep-alive"); + AddHeader("Connection", "keep-alive"); - Content = new FormUrlEncodedContent(this) + this << CHAR_PARAM("access_token", ppro->getMStringA("TokenSecret")) << CHAR_PARAM("umqid", ppro->getMStringA("UMQID")) << INT64_PARAM("message", ppro->getDword("MessageID")) |