summaryrefslogtreecommitdiff
path: root/metacontacts.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-05-19 01:43:48 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-05-19 01:43:48 +0300
commit9026615fea720ca69d3a3480a69e32e5432db69b (patch)
tree10e18a6b7bce1427cb04dafd4a5772123c974050 /metacontacts.cpp
parentec0c325b00df0576ecf6f159e6ea4b6f72a13e49 (diff)
fixed one more metacontacts problem
added option to remove own tags in outgoing messages (useful to quote)
Diffstat (limited to 'metacontacts.cpp')
-rwxr-xr-xmetacontacts.cpp6
1 files changed, 3 insertions, 3 deletions
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;
}