summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api/history.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-12-18 18:41:56 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-12-18 18:41:56 +0300
commitace6bf1bd1e110ac93da464b2b7d75cafef0b415 (patch)
tree15ddd4342f7ed06a9dd8b6a87790b4593cc156ed /protocols/Steam/src/api/history.h
parent920b6b4c19e8ba7b020db7e78db0327b2a742a7b (diff)
obsolete code removed
Diffstat (limited to 'protocols/Steam/src/api/history.h')
-rw-r--r--protocols/Steam/src/api/history.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/api/history.h b/protocols/Steam/src/api/history.h
index de3e7367f9..d3e4a49988 100644
--- a/protocols/Steam/src/api/history.h
+++ b/protocols/Steam/src/api/history.h
@@ -3,13 +3,13 @@
struct GetHistoryMessagesRequest : public HttpRequest
{
- GetHistoryMessagesRequest(const char *token, int64_t steamId, const char *who, time_t since) :
+ GetHistoryMessagesRequest(const char *token, int64_t steamId, int64_t who, time_t since) :
HttpRequest(REQUEST_GET, "/IFriendMessagesService/GetRecentMessages/v0001")
{
this
<< CHAR_PARAM("access_token", token)
<< INT64_PARAM("steamid1", steamId)
- << CHAR_PARAM("steamid2", who)
+ << INT64_PARAM("steamid2", who)
// Steam somehow doesn't respect too precise start time parameter, so we better request older time and then do own filtering again
<< INT64_PARAM("rtime32_start_time", since - 1500);
}