summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/hdr/modern_clc.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/hdr/modern_clc.h')
-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 {