diff options
author | George Hazan <ghazan@miranda.im> | 2022-07-16 21:23:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-07-16 21:23:06 +0300 |
commit | cd4272ca22d47cdf673bfb0e5ec353acca3d9569 (patch) | |
tree | 0e2a4879766d8197cdf8a8fb6d5f5033399a0ea4 /include | |
parent | d6a052756f58211067a7a67d7e3c1dbe7e6c9465 (diff) |
Contact_IsGroupChat - a helper to detect chat rooms
Diffstat (limited to 'include')
-rw-r--r-- | include/m_contacts.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/m_contacts.h b/include/m_contacts.h index 77797143a7..24f9bc4cdb 100644 --- a/include/m_contacts.h +++ b/include/m_contacts.h @@ -83,6 +83,11 @@ EXTERN_C MIR_APP_DLL(wchar_t*) Contact_GetInfo( EXTERN_C MIR_APP_DLL(int) Contact_GetStatus(MCONTACT hContact);
/////////////////////////////////////////////////////////////////////////////////////////
+// if contact is a group chat
+
+MIR_APP_DLL(bool) Contact_IsGroupChat(MCONTACT hContact, const char *szProto = nullptr);
+
+/////////////////////////////////////////////////////////////////////////////////////////
// gets / sets hidden status for a contact
EXTERN_C MIR_APP_DLL(bool) Contact_IsHidden(MCONTACT hContact);
|