diff options
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()
|