From ace6bf1bd1e110ac93da464b2b7d75cafef0b415 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 18 Dec 2024 18:41:56 +0300 Subject: obsolete code removed --- protocols/Steam/src/api/history.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Steam/src/api') 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); } -- cgit v1.2.3