summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_contacts.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-04-09 17:48:27 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-04-09 17:48:27 +0000
commitb80be7b3bbfae105935f49c34e9e64f1760ad08e (patch)
treeab36197cad44be4c7c2bc05b8da60e95becb5279 /protocols/Steam/src/steam_contacts.cpp
parent2068cf47f49397ba35a5501c7949a1c3ce6342ff (diff)
Steam: fixed contacts loading
git-svn-id: http://svn.miranda-ng.org/main/trunk@8903 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r--protocols/Steam/src/steam_contacts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp
index 6038ca029c..3aba838dfc 100644
--- a/protocols/Steam/src/steam_contacts.cpp
+++ b/protocols/Steam/src/steam_contacts.cpp
@@ -105,6 +105,8 @@ MCONTACT CSteamProto::AddContact(const SteamWebApi::FriendApi::Summary *contact)
hContact = (MCONTACT)CallService(MS_DB_CONTACT_ADD, 0, 0);
CallService(MS_PROTO_ADDTOCONTACT, hContact, (LPARAM)this->m_szModuleName);
+ setString(hContact, "SteamID", contact->GetSteamId());
+
// update info
UpdateContact(hContact, contact);