summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-01-24 21:45:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-01-24 21:45:20 +0300
commitdcb72b54af11f8c2b35d945c9a4d1908bb2430ae (patch)
tree6bf8fab5b8af55fb70e43e261ef6fbccf45d20ae /protocols/Facebook/src/proto.cpp
parent2238f08124f674c9319358f052b89ceaf5893299 (diff)
Facebook: basic group chat hooks
Diffstat (limited to 'protocols/Facebook/src/proto.cpp')
-rw-r--r--protocols/Facebook/src/proto.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Facebook/src/proto.cpp b/protocols/Facebook/src/proto.cpp
index 0e1697705b..dd7ef0903d 100644
--- a/protocols/Facebook/src/proto.cpp
+++ b/protocols/Facebook/src/proto.cpp
@@ -106,6 +106,8 @@ FacebookProto::FacebookProto(const char *proto_name, const wchar_t *username) :
CreateProtoService(PS_GETAVATARCAPS, &FacebookProto::GetAvatarCaps);
// Events
+ HookProtoEvent(ME_GC_EVENT, &FacebookProto::GroupchatEventHook);
+ HookProtoEvent(ME_GC_BUILDMENU, &FacebookProto::GroupchatMenuHook);
HookProtoEvent(ME_OPT_INITIALISE, &FacebookProto::OnOptionsInit);
// Default group