summaryrefslogtreecommitdiff
path: root/include/m_chat_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_chat_int.h')
-rw-r--r--include/m_chat_int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index 886c83d22f..1342e2b591 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -421,10 +421,13 @@ protected:
protected:
CCtrlEdit *m_pLog, *m_pEntry;
+ SESSION_INFO *m_si;
public:
MCONTACT m_hContact;
+ __forceinline bool isChat() const { return m_si != nullptr; }
+
__inline void* operator new(size_t size){ return calloc(1, size); }
__inline void operator delete(void* p) { free(p); }
};