summaryrefslogtreecommitdiff
path: root/src/modules/metacontacts
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-04-14 20:28:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-04-14 20:28:12 +0000
commit51d31b1443b0d3b167f24a4a479df250b2cc5227 (patch)
tree281b8560df83895e2c07952a91e7dee8bf97b608 /src/modules/metacontacts
parente7eadee4856f2f3a2d6873712d5f73ce03b11918 (diff)
a hidden sub's visibility must be restored on removal
git-svn-id: http://svn.miranda-ng.org/main/trunk@8978 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts')
-rw-r--r--src/modules/metacontacts/meta_menu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/metacontacts/meta_menu.cpp b/src/modules/metacontacts/meta_menu.cpp
index fdc05fe142..4e8cd40187 100644
--- a/src/modules/metacontacts/meta_menu.cpp
+++ b/src/modules/metacontacts/meta_menu.cpp
@@ -93,6 +93,8 @@ void Meta_RemoveContactNumber(DBCachedContact *ccMeta, int number, bool bUpdateI
return;
if (ccSub->parentID == ccMeta->contactID) {
+ db_unset(ccSub->contactID, "CList", "Hidden");
+
// stop ignoring, if we were
if (options.bSuppressStatus)
CallService(MS_IGNORE_UNIGNORE, ccSub->contactID, IGNOREEVENT_USERONLINE);