diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-10-08 08:55:53 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-10-08 08:55:53 +0000 |
commit | 0d11f71e3bb30c9760f7fc8b027897047530b136 (patch) | |
tree | f65324ac5278878e1bad871dd083b1c972590c38 /protocols/SkypeClassic/src/skypesvc.cpp | |
parent | a134f7e823d5d334bfee65652534c206569e0b3e (diff) |
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
Diffstat (limited to 'protocols/SkypeClassic/src/skypesvc.cpp')
-rw-r--r-- | protocols/SkypeClassic/src/skypesvc.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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;
|