summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-06 12:50:52 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-06 12:50:52 +0300
commitabcf85f5475d62c7df49746c9d6d3f1b8ecae163 (patch)
treee392d5a2f19952e055600bdd458eedeb09dd9df8 /include
parentc3bb3ccbcb43945028586e960773a0f43dbb7a18 (diff)
Chat_Find(MCONTACT) - new useful helper
Diffstat (limited to 'include')
-rw-r--r--include/m_chat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/m_chat.h b/include/m_chat.h
index e747388245..ea716ea040 100644
--- a/include/m_chat.h
+++ b/include/m_chat.h
@@ -466,6 +466,7 @@ MIR_APP_DLL(int) Chat_GetInfo(GC_INFO *pInfo);
// Finds a session by its module & unique id
// returns a pointer to session or NULL on error
+MIR_APP_DLL(SESSION_INFO*) Chat_Find(MCONTACT hContact, const char *pszModule = nullptr);
MIR_APP_DLL(SESSION_INFO*) Chat_Find(const wchar_t *pszID, const char *pszModule);
//------------------------- HOOKS ------------------------