summaryrefslogtreecommitdiff
path: root/meta2/core_functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'meta2/core_functions.cpp')
-rw-r--r--meta2/core_functions.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta2/core_functions.cpp b/meta2/core_functions.cpp
index 8b27bbf..1b47bd5 100644
--- a/meta2/core_functions.cpp
+++ b/meta2/core_functions.cpp
@@ -143,6 +143,8 @@ void Meta_Assign(HANDLE hSub, HANDLE hMeta) {
} else // shouldn't happen, as the menu option is hidden when metas are disabled...
DBWriteContactSettingByte(hMeta, "CList", "Hidden", 1);
+ CallService(MS_IGNORE_IGNORE, (WPARAM)hSub, (WPARAM)IGNOREEVENT_USERONLINE);
+
DBVARIANT dbv;
if(DBGetContactSettingUTF8String(hMeta, "CList", "MyHandle", &dbv)) {
if(!DBGetContactSettingUTF8String(hSub, "CList", "MyHandle", &dbv)) {
@@ -175,6 +177,8 @@ void Meta_Remove(HANDLE hSub) {
DBWriteContactSettingByte(hSub, MODULE, "IsSubcontact", 0);
if(!meta_group_hack_disabled) DBWriteContactSettingByte(hSub, "CList", "Hidden", 0);
+ CallService(MS_IGNORE_UNIGNORE, (WPARAM)hSub, (WPARAM)IGNOREEVENT_USERONLINE);
+
metaMap[hMeta].remove(hSub);
if(metaMap[hMeta].size() == 0) {
CallService(MS_DB_CONTACT_DELETE, (WPARAM)hMeta, 0);