diff options
Diffstat (limited to 'plugins/Sessions')
-rw-r--r-- | plugins/Sessions/Src/Utils.cpp | 2 | ||||
-rw-r--r-- | plugins/Sessions/Src/stdafx.h | 1 |
2 files changed, 2 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)
diff --git a/plugins/Sessions/Src/stdafx.h b/plugins/Sessions/Src/stdafx.h index e88071f852..d691eea7af 100644 --- a/plugins/Sessions/Src/stdafx.h +++ b/plugins/Sessions/Src/stdafx.h @@ -31,6 +31,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <m_clc.h>
#include <m_utils.h>
#include <m_langpack.h>
+#include <m_metacontacts.h>
#include <m_icolib.h>
#include <m_message.h>
#include <m_clistint.h>
|