summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_database.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-12-16 14:33:05 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-12-16 14:33:05 +0000
commit2bc831c184cced2db6ad62bafc1bd6a75fd84c72 (patch)
tree92e8af06d2dfcb7352de46be5976e1c2cdff3985 /protocols/Skype/src/skype_database.cpp
parent2ae148d3b9040ab734642ea0bc798bede8a06dfa (diff)
- added SkypeOut contact support
git-svn-id: http://svn.miranda-ng.org/main/trunk@2752 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_database.cpp')
-rw-r--r--protocols/Skype/src/skype_database.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_database.cpp b/protocols/Skype/src/skype_database.cpp
index c303f8b3aa..6c583374a5 100644
--- a/protocols/Skype/src/skype_database.cpp
+++ b/protocols/Skype/src/skype_database.cpp
@@ -27,7 +27,7 @@ void CSkypeProto::RaiseAuthRequestEvent(
CCSDATA ccs = {0};
ccs.szProtoService = PSR_AUTH;
- ccs.hContact = this->AddContactBySid(::mir_a2u(sid), ::mir_a2u(nick));
+ ccs.hContact = this->AddContactBySid(sid, ::mir_a2u(nick));
ccs.wParam = 0;
ccs.lParam = (LPARAM)&pre;
pre.timestamp = timestamp;
@@ -64,7 +64,7 @@ void CSkypeProto::RaiseMessageReceivedEvent(
CCSDATA ccs = {0};
ccs.szProtoService = PSR_MESSAGE;
- ccs.hContact = this->AddContactBySid(::mir_a2u(sid), ::mir_a2u(nick));
+ ccs.hContact = this->AddContactBySid(sid, ::mir_a2u(nick));
ccs.wParam = 0;
ccs.lParam = (LPARAM)&pre;
pre.flags = PREF_UTF;