From 0d11f71e3bb30c9760f7fc8b027897047530b136 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 8 Oct 2014 08:55:53 +0000 Subject: SkypeClassic: Sync from leecher's repo (r1963) - Fixed a severe bug that prevented the correct auth user to be read preventing every authentication accept. - Fixed a crash in Groupchat when only 2 users were left and user parted the groupchat - Added feature for blocking contacts git-svn-id: http://svn.miranda-ng.org/main/trunk@10744 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeClassic/src/skypesvc.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'protocols/SkypeClassic/src/skypesvc.cpp') diff --git a/protocols/SkypeClassic/src/skypesvc.cpp b/protocols/SkypeClassic/src/skypesvc.cpp index 11ad13d1fe..f8ad3aa44f 100644 --- a/protocols/SkypeClassic/src/skypesvc.cpp +++ b/protocols/SkypeClassic/src/skypesvc.cpp @@ -35,6 +35,7 @@ void CreateServices(void) CreateServiceName(SkypeOutCallUser); CreateServiceName(CallHangupUser); CreateServiceName(CallUser); + CreateServiceName(BlockContact); CreateServiceFunction(SKYPE_CALL, SkypeCall); CreateServiceFunction(SKYPE_CALLHANGUP, SkypeCallHangup); @@ -45,6 +46,7 @@ void CreateServices(void) CreateServiceFunction(SKYPE_ANSWERCALL, SkypeAnswerCall); CreateServiceFunction(SKYPE_SENDFILE, SkypeSendFile); CreateServiceFunction(SKYPE_SETAVATAR, SkypeSetAvatar); + CreateServiceFunction(SKYPE_BLOCKCONTACT, SkypeBlockContact); CreateProtoService(PS_GETCAPS, SkypeGetCaps); CreateProtoService(PS_GETNAME, SkypeGetName); @@ -54,6 +56,7 @@ void CreateServices(void) CreateProtoService(PS_ADDTOLIST, SkypeAddToList); CreateProtoService(PS_ADDTOLISTBYEVENT, SkypeAddToListByEvent); CreateProtoService(PS_BASICSEARCH, SkypeBasicSearch); + CreateProtoService(PS_SEARCHBYEMAIL, SkypeBasicSearch); CreateProtoService(PSS_GETINFO, SkypeGetInfo); CreateProtoService(PSS_MESSAGE, SkypeSendMessage); @@ -106,7 +109,7 @@ INT_PTR SkypeGetCaps(WPARAM wParam, LPARAM lParam) switch (wParam) { case PFLAGNUM_1: - ret = PF1_BASICSEARCH | PF1_IM | PF1_MODEMSG; // | PF1_AUTHREQ; + ret = PF1_BASICSEARCH | PF1_IM | PF1_MODEMSG | PF1_SEARCHBYEMAIL; // | PF1_AUTHREQ; if (protocol>=5) ret |= PF1_ADDSEARCHRES; break; -- cgit v1.2.3