From a4549ec2b353a0995bcfba17b7d42c047e7c8ee8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 3 Jun 2018 22:35:20 +0300 Subject: fixes #1401 (fixes inactive session detection) --- include/m_chat_int.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/m_chat_int.h b/include/m_chat_int.h index c50ffbd692..5ad09897a2 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -259,6 +259,7 @@ struct CHAT_MANAGER void (*SetActiveSession)(SESSION_INFO *si); SESSION_INFO* (*GetActiveSession)(void); + SESSION_INFO* (*SM_FindSession)(const wchar_t *pszID, const char *pszModule); HICON (*SM_GetStatusIcon)(SESSION_INFO *si, USERINFO * ui); BOOL (*SM_PostMessage)(const wchar_t *pszID, const char *pszModule, UINT msg, WPARAM wParam, LPARAM lParam); @@ -448,6 +449,7 @@ public: virtual void AddLog(); virtual void CloseTab() {} + virtual bool IsActive() const PURE; virtual void LoadSettings() PURE; virtual void RedrawLog() {} virtual void ScrollToBottom() {} -- cgit v1.2.3