summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin/src/menu.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-07-09 09:25:44 +0000
committerRobert Pösel <robyer@seznam.cz>2014-07-09 09:25:44 +0000
commitdd23a58ed2e260044c9e6f5a7585c368dfe425f8 (patch)
tree1b15fc82beb1560a00b52019e4146230ef249c99 /plugins/SeenPlugin/src/menu.cpp
parent87643a27f1e2b1bdfd30a06f162112908aa6ac17 (diff)
SeenPlugin: Don't monitor or show menuitem/userinfo for groupchats
git-svn-id: http://svn.miranda-ng.org/main/trunk@9742 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SeenPlugin/src/menu.cpp')
-rw-r--r--plugins/SeenPlugin/src/menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SeenPlugin/src/menu.cpp b/plugins/SeenPlugin/src/menu.cpp
index 575b232a43..bf8e1e2709 100644
--- a/plugins/SeenPlugin/src/menu.cpp
+++ b/plugins/SeenPlugin/src/menu.cpp
@@ -41,7 +41,7 @@ int BuildContactMenu(WPARAM wparam,LPARAM)
char *szProto = GetContactProto(hContact);
CLISTMENUITEM cmi = { sizeof(cmi) };
- if (!IsWatchedProtocol(szProto) || !db_get_b(NULL,S_MOD,"MenuItem",1))
+ if (!IsWatchedProtocol(szProto) || db_get_b(hContact, szProto, "ChatRoom", false) || !db_get_b(NULL, S_MOD, "MenuItem", 1))
cmi.flags = CMIM_FLAGS | CMIF_HIDDEN | CMIF_TCHAR;
else {
cmi.flags = CMIM_NAME | CMIM_FLAGS | CMIM_ICON | CMIF_TCHAR;