From 9026615fea720ca69d3a3480a69e32e5432db69b Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sat, 19 May 2012 01:43:48 +0300 Subject: fixed one more metacontacts problem added option to remove own tags in outgoing messages (useful to quote) --- metacontacts.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'metacontacts.cpp') diff --git a/metacontacts.cpp b/metacontacts.cpp index 6e96ebe..1abc2aa 100755 --- a/metacontacts.cpp +++ b/metacontacts.cpp @@ -44,7 +44,7 @@ HANDLE metaGetContact(HANDLE hContact) if(bMetaContacts) if(metaIsSubcontact(hContact)) return (HANDLE)CallService(MS_MC_GETMETACONTACT,(WPARAM)hContact,0); - return hContact; + return NULL; } bool metaIsSubcontact(HANDLE hContact) { @@ -60,7 +60,7 @@ HANDLE metaGetMostOnline(HANDLE hContact) if(bMetaContacts) if(metaIsProtoMetaContacts(hContact)) return (HANDLE)CallService(MS_MC_GETMOSTONLINECONTACT,(WPARAM)hContact,0); - return hContact; + return NULL; } HANDLE metaGetDefault(HANDLE hContact) { @@ -68,7 +68,7 @@ HANDLE metaGetDefault(HANDLE hContact) if(bMetaContacts) if(metaIsProtoMetaContacts(hContact)) return (HANDLE)CallService(MS_MC_GETDEFAULTCONTACT,(WPARAM)hContact,0); - return hContact; + return NULL; } -- cgit v1.2.3