summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-10 14:56:20 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-10 14:56:20 +0000
commita2f5418ba78530cd81aff19497fd44772e7bb42d (patch)
tree0a210bb8b2fe511242bbf186efa277f33144482f /protocols/SkypeWeb/src/skype_proto.cpp
parenta95fb39f8e85ad7c2feb30b9797f292d02e07c18 (diff)
SkypeWeb: GetInfo support; Small fixes.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12738 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp
index 8eadeadd08..16c1481374 100644
--- a/protocols/SkypeWeb/src/skype_proto.cpp
+++ b/protocols/SkypeWeb/src/skype_proto.cpp
@@ -137,7 +137,11 @@ int CSkypeProto::FileDeny(MCONTACT hContact, HANDLE hTransfer, const PROTOCHAR*
int CSkypeProto::FileResume(HANDLE hTransfer, int* action, const PROTOCHAR** tszFilename) { return 0; }
-int CSkypeProto::GetInfo(MCONTACT, int) { return 0; }
+int CSkypeProto::GetInfo(MCONTACT hContact, int)
+{
+ PushRequest(new GetProfileRequest(ptrA(getStringA("TokenSecret")), ptrA(db_get_sa(hContact, m_szModuleName, SKYPE_SETTINGS_ID))), &CSkypeProto::LoadProfile);
+ return 0;
+}
HANDLE CSkypeProto::SearchByEmail(const PROTOCHAR*) { return 0; }