diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-10-15 09:54:32 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-10-15 09:54:32 +0000 |
commit | 40d90d097b40f76b156b5fc1da6422ee03772951 (patch) | |
tree | f88fbba488649e92dbe76fa18c979c51ec1f0415 /protocols/VKontakte/src/vk_proto.cpp | |
parent | 63a417acde67f9ae22311611f1a3a77ed8a0615a (diff) |
VKontakte:
fix C4018 warning
rework leave chat support
add leave chat by kick
add rejoin to chat
git-svn-id: http://svn.miranda-ng.org/main/trunk@10787 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp index 5270c99f2e..d8ad1d70d8 100644 --- a/protocols/VKontakte/src/vk_proto.cpp +++ b/protocols/VKontakte/src/vk_proto.cpp @@ -104,6 +104,7 @@ int CVkProto::OnModulesLoaded(WPARAM wParam, LPARAM lParam) gcr.pColors = sttColors;
CallServiceSync(MS_GC_REGISTER, NULL, (LPARAM)&gcr);
CreateProtoService(PS_LEAVECHAT, &CVkProto::OnLeaveChat);
+ CreateProtoService(PS_JOINCHAT, &CVkProto::OnJoinChat);
HookProtoEvent(ME_GC_EVENT, &CVkProto::OnChatEvent);
HookProtoEvent(ME_GC_BUILDMENU, &CVkProto::OnGcMenuHook);
// Other hooks
|