summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/hdr
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-24 21:05:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-24 21:05:46 +0000
commitda6592ef1cf1093392a302cf43ef300faf135c27 (patch)
tree2caf90d2321c134ef50179c6be710c915ec4039c /plugins/Clist_modern/src/hdr
parentd82596d1f1bf7f374e706117416e51199825ca9d (diff)
we don't allow a groupchat to be drag-n-dropped on a contact
git-svn-id: http://svn.miranda-ng.org/main/trunk@9937 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/hdr')
-rw-r--r--plugins/Clist_modern/src/hdr/modern_clc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Clist_modern/src/hdr/modern_clc.h b/plugins/Clist_modern/src/hdr/modern_clc.h
index e84b1f1779..c7b29b94e4 100644
--- a/plugins/Clist_modern/src/hdr/modern_clc.h
+++ b/plugins/Clist_modern/src/hdr/modern_clc.h
@@ -233,6 +233,11 @@ struct ClcContact : public ClcContactBase
BYTE ext_nItemsNum;
BOOL ext_fItemsValid;
tContactItems ext_mpItemsDesc[EXTRA_ICON_COUNT+10]; //up to 10 items
+
+ __forceinline bool isChat() const
+ {
+ return (type == CLCIT_CONTACT) && (db_get_b(hContact, proto, "ChatRoom", 0) != 0);
+ }
};
struct ClcModernFontInfo {