summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-01-13 13:15:07 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-01-13 13:15:07 +0300
commit7249668ec22b5049c1098185ccc647f4fa891867 (patch)
treedfd7408e0f914fb8ff353cfc3cd8fc36767760ba
parentff52dc730a047fadc8eb71676b91a9d2ecc654ad (diff)
Steam: fix for fetching chat's history
-rw-r--r--protocols/Steam/src/steam_chats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_chats.cpp b/protocols/Steam/src/steam_chats.cpp
index 704a86e5b1..a425fc8aca 100644
--- a/protocols/Steam/src/steam_chats.cpp
+++ b/protocols/Steam/src/steam_chats.cpp
@@ -112,7 +112,7 @@ void CSteamProto::SendGetChatHistory(MCONTACT hContact, uint32_t iLastMsgId)
CChatRoomGetMessageHistoryRequest request;
request.chat_group_id = GetId(hContact, DBKEY_STEAM_ID); request.has_chat_group_id = true;
request.chat_id = getDword(hContact, "ChatId"); request.has_chat_id = true;
- request.last_time = iLastMsgId; request.has_last_time = true;
+ request.start_time = iLastMsgId; request.has_start_time = true;
WSSendService(GetChatHistory, request, (void*)hContact);
}