summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_contacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r--protocols/Steam/src/steam_contacts.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp
index 69572b2953..b069052cbc 100644
--- a/protocols/Steam/src/steam_contacts.cpp
+++ b/protocols/Steam/src/steam_contacts.cpp
@@ -432,15 +432,21 @@ void CSteamProto::OnGotFriendList(const HttpResponse *response)
// We need to delete nroot here at the end, because we had references to JSONNode objects stored in friends map
json_delete(nroot);
+ ptrA token(getStringA("TokenSecret"));
+
if (!steamIds.empty())
{
//steamIds.pop_back();
- ptrA token(getStringA("TokenSecret"));
PushRequest(
new GetUserSummariesRequest(token, steamIds.c_str()),
&CSteamProto::OnGotUserSummaries);
}
+
+ // Download last messages
+ PushRequest(
+ new GetConversationsRequest(token),
+ &CSteamProto::OnGotConversations);
}
void CSteamProto::OnGotBlockList(const HttpResponse *response)