summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_thread.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-05-02 22:22:41 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-05-02 22:22:41 +0000
commit70436074ae8f66a092d0212fb8b99b94d0fd03a6 (patch)
tree694fd4a013fd9b81e393bc0cf2d83b51920e009c /protocols/Steam/src/steam_thread.cpp
parent9b111dc84cd76cdbdb3f820237d3de0b1555deb1 (diff)
Steam: improved contact management
git-svn-id: http://svn.miranda-ng.org/main/trunk@9108 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_thread.cpp')
-rw-r--r--protocols/Steam/src/steam_thread.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/Steam/src/steam_thread.cpp b/protocols/Steam/src/steam_thread.cpp
index a9deac4e74..91f202a955 100644
--- a/protocols/Steam/src/steam_thread.cpp
+++ b/protocols/Steam/src/steam_thread.cpp
@@ -116,10 +116,8 @@ void CSteamProto::PollServer(const char *token, const char *umqId, UINT32 messag
MCONTACT hContact = FindContact(steamId);
if (!hContact)
- hContact = AddContact(steamId);
+ hContact = AddContact(steamId, true);
- setByte(hContact, "Auth", 1);
- setByte(hContact, "Grant", 1);
RaiseAuthRequestThread((void*)hContact);
}
break;
@@ -158,7 +156,7 @@ void CSteamProto::PollingThread(void*)
if (pollResult.GetStatus() == HTTP_STATUS_UNAUTHORIZED)
{
delSetting("TokenSecret");
- delSetting("Cookie");
+ //delSetting("Cookie");
}
break;