diff options
Diffstat (limited to 'protocols/Steam/src/api/history.h')
| -rw-r--r-- | protocols/Steam/src/api/history.h | 4 |
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); } |
