From a2f5418ba78530cd81aff19497fd44772e7bb42d Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Fri, 10 Apr 2015 14:56:20 +0000 Subject: SkypeWeb: GetInfo support; Small fixes. git-svn-id: http://svn.miranda-ng.org/main/trunk@12738 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_proto.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'protocols/SkypeWeb/src/skype_proto.cpp') 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; } -- cgit v1.2.3