From 35e6fa87fd67d1d0a73b6314ef6579b8bdaaea8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 25 Dec 2016 12:52:57 +0100 Subject: Steam: Start polling thread after loading contacts (addresses #646) --- protocols/Steam/src/steam_login.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp index e68ffb48cb..1c68e5c647 100644 --- a/protocols/Steam/src/steam_login.cpp +++ b/protocols/Steam/src/steam_login.cpp @@ -391,7 +391,8 @@ void CSteamProto::OnLoggedOn(const HttpResponse *response) ptrA token(getStringA("TokenSecret")); ptrA steamId(getStringA("SteamID")); - PushRequest( + // send this request immediately, so we can start polling thread with already loaded all contacts + SendRequest( new GetFriendListRequest(token, steamId), &CSteamProto::OnGotFriendList); -- cgit v1.2.3