diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-12-25 12:52:57 +0100 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-12-25 12:52:57 +0100 |
commit | 35e6fa87fd67d1d0a73b6314ef6579b8bdaaea8c (patch) | |
tree | 72a6b448685fef002264473f833db210df336469 /protocols/Steam/src/steam_login.cpp | |
parent | 85e0f71e99ead38c01c4ad127b66aafa723ade3c (diff) |
Steam: Start polling thread after loading contacts (addresses #646)
Diffstat (limited to 'protocols/Steam/src/steam_login.cpp')
-rw-r--r-- | protocols/Steam/src/steam_login.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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); |