summaryrefslogtreecommitdiff
path: root/plugins/Sessions/Src/Utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-14 12:57:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-14 12:57:19 +0300
commit543f38a5a5b7395ce52f19c484e899c1b8cdbd33 (patch)
treee05973be95a7db008b8b0380697478594c73b095 /plugins/Sessions/Src/Utils.cpp
parent54368d3198f5e7c104e9497350de30c84e810def (diff)
Sessions: no need to hide subcontact's window
Diffstat (limited to 'plugins/Sessions/Src/Utils.cpp')
-rw-r--r--plugins/Sessions/Src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Sessions/Src/Utils.cpp b/plugins/Sessions/Src/Utils.cpp
index 98f731bd2f..0dac6aef1a 100644
--- a/plugins/Sessions/Src/Utils.cpp
+++ b/plugins/Sessions/Src/Utils.cpp
@@ -355,7 +355,7 @@ void OffsetWindow(HWND parent, HWND hwnd, int dx, int dy)
int CheckContactVisibility(MCONTACT hContact)
{
- return !db_get_b(hContact, "CList", "Hidden", 0);
+ return db_mc_isSub(hContact) || !db_get_b(hContact, "CList", "Hidden", 0);
}
void RenameUserDefSession(int ses_count, wchar_t* ptszNewName)