diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-16 21:07:15 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-16 21:07:15 +0000 |
commit | 970946fb23d2555a6d08cd0c5c065d7fd4bee322 (patch) | |
tree | ff8ef6a83b7cfd9270ba5d8eb89dc0ab2ff77c2d /protocols/VKontakte | |
parent | 0df68ef45f3467047892d9b5547329aaac6e56f0 (diff) |
PS_CHANGEINFO is never called, and therefore exterminated
git-svn-id: http://svn.miranda-ng.org/main/trunk@8147 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 12 | ||||
-rw-r--r-- | protocols/VKontakte/src/vk_proto.h | 2 |
2 files changed, 2 insertions, 12 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index f1697284c2..05a95e68b8 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -110,10 +110,10 @@ DWORD_PTR CVkProto::GetCaps(int type, MCONTACT hContact) return PF1_IM | PF1_CHAT | PF1_SERVERCLIST | PF1_AUTHREQ | PF1_BASICSEARCH | PF1_SEARCHBYEMAIL | PF1_SEARCHBYNAME | PF1_MODEMSG;
case PFLAGNUM_2:
- return PF2_ONLINE | PF2_INVISIBLE | PF2_ONTHEPHONE | PF2_IDLE; // | PF2_SHORTAWAY;
+ return PF2_ONLINE | PF2_INVISIBLE | PF2_ONTHEPHONE | PF2_IDLE;
case PFLAGNUM_3:
- return PF2_ONLINE; // | PF2_SHORTAWAY;
+ return PF2_ONLINE;
case PFLAGNUM_4:
return PF4_NOCUSTOMAUTH | PF4_FORCEADDED | PF4_IMSENDUTF | PF4_AVATARS | PF4_SUPPORTTYPING | PF4_NOAUTHDENYREASON | PF4_IMSENDOFFLINE;
@@ -285,13 +285,11 @@ int CVkProto::AuthRequest(MCONTACT hContact,const PROTOCHAR *message) int CVkProto::Authorize(HANDLE hDbEvent)
{
- //if (!hDbEvent)
return 1;
}
int CVkProto::AuthDeny(HANDLE hDbEvent, const PROTOCHAR *reason)
{
- //if (!hDbEvent || isOffline())
return 1;
}
@@ -310,12 +308,6 @@ int CVkProto::AuthRecv(MCONTACT hContact,PROTORECVEVENT *) return 1;
}
-HANDLE CVkProto::ChangeInfo(int type,void *info_data)
-{
- MessageBoxA(0,"ChangeInfo","",0);
- return NULL;
-}
-
HANDLE CVkProto::FileAllow(MCONTACT hContact,HANDLE hTransfer,const PROTOCHAR *path)
{
return NULL;
diff --git a/protocols/VKontakte/src/vk_proto.h b/protocols/VKontakte/src/vk_proto.h index 34b34b8f59..8c06d8ee84 100644 --- a/protocols/VKontakte/src/vk_proto.h +++ b/protocols/VKontakte/src/vk_proto.h @@ -124,8 +124,6 @@ struct CVkProto : public PROTO<CVkProto> virtual int __cdecl AuthRecv(MCONTACT hContact, PROTORECVEVENT*);
virtual int __cdecl AuthRequest(MCONTACT hContact, const TCHAR *szMessage);
- virtual HANDLE __cdecl ChangeInfo(int iInfoType, void* pInfoData);
-
virtual HANDLE __cdecl FileAllow(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szPath);
virtual int __cdecl FileCancel(MCONTACT hContact, HANDLE hTransfer);
virtual int __cdecl FileDeny(MCONTACT hContact, HANDLE hTransfer, const TCHAR *szReason);
|