diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-02-25 22:07:05 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-02-25 22:07:05 +0000 |
commit | db8c860f22d93d04fbe35bcb50e812c269cb2ea7 (patch) | |
tree | 4d54d27dae4cba5fa0517f8b529abd817dffb338 /protocols/Tox/src/tox_chatrooms.cpp | |
parent | 49b90802d624e53129e51dfce1d78d2ef28ed68c (diff) |
Tox: messages refactoring pt 2
git-svn-id: http://svn.miranda-ng.org/main/trunk@12268 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_chatrooms.cpp')
-rw-r--r-- | protocols/Tox/src/tox_chatrooms.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Tox/src/tox_chatrooms.cpp b/protocols/Tox/src/tox_chatrooms.cpp index ce68ee0fb1..d4b134faed 100644 --- a/protocols/Tox/src/tox_chatrooms.cpp +++ b/protocols/Tox/src/tox_chatrooms.cpp @@ -163,6 +163,9 @@ void CToxProto::InitGroupChatModule() HookProtoEvent(ME_GC_EVENT, &CToxProto::OnGroupChatEventHook);
HookProtoEvent(ME_GC_BUILDMENU, &CToxProto::OnGroupChatMenuHook);
+
+ CreateProtoService(PS_JOINCHAT, &CToxProto::OnJoinChatRoom);
+ CreateProtoService(PS_LEAVECHAT, &CToxProto::OnLeaveChatRoom);
}
void CToxProto::CloseAllChatChatSessions()
|