diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-07-29 01:01:18 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-07-29 01:01:18 +0300 |
commit | 8ef18318d8f81a533c0e3bc5c10c76fec0be3b5f (patch) | |
tree | 88eb30555006e99e5cc446eee4520f3f955eae99 /metacontacts.cpp | |
parent | 191c2e330ab91f4b35860e08c5424667ed1893c5 (diff) | |
parent | 64c6452c697a05ab0b0d4bbbda167ddc35215397 (diff) |
Merge branch 'new_gpg' into new_gpg_autoexchangenew_gpg_autoexchange
Conflicts:
main.cpp
messages.cpp
Diffstat (limited to 'metacontacts.cpp')
-rwxr-xr-x[-rw-r--r--] | metacontacts.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/metacontacts.cpp b/metacontacts.cpp index 46185e4..1abc2aa 100644..100755 --- a/metacontacts.cpp +++ b/metacontacts.cpp @@ -1,4 +1,4 @@ -// Copyright © 2010 SecureIM developers (baloo and others), sss
+// Copyright © 2010-2012 SecureIM developers (baloo and others), sss
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -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;
}
|