diff options
| author | George Hazan <george.hazan@gmail.com> | 2024-03-06 12:50:52 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2024-03-06 12:50:52 +0300 |
| commit | abcf85f5475d62c7df49746c9d6d3f1b8ecae163 (patch) | |
| tree | e392d5a2f19952e055600bdd458eedeb09dd9df8 /include | |
| parent | c3bb3ccbcb43945028586e960773a0f43dbb7a18 (diff) | |
Chat_Find(MCONTACT) - new useful helper
Diffstat (limited to 'include')
| -rw-r--r-- | include/m_chat.h | 1 |
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 ------------------------
|
