From 37a3130638a43029a072fcef77dd3afb88e0e029 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 23 Jun 2014 20:29:08 +0000 Subject: more correct way of catching incoming messages git-svn-id: http://svn.miranda-ng.org/main/trunk@9560 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/modules/metacontacts/meta_main.cpp') diff --git a/src/modules/metacontacts/meta_main.cpp b/src/modules/metacontacts/meta_main.cpp index dec65ef7d0..257f557814 100644 --- a/src/modules/metacontacts/meta_main.cpp +++ b/src/modules/metacontacts/meta_main.cpp @@ -70,6 +70,10 @@ int LoadMetacontacts(void) Meta_ReadOptions(&options); PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE }; + pd.szName = META_FILTER; + pd.type = PROTOTYPE_FILTER; + CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd); + pd.szName = META_PROTO; pd.type = PROTOTYPE_VIRTUAL; CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd); -- cgit v1.2.3