From cd4272ca22d47cdf673bfb0e5ec353acca3d9569 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 16 Jul 2022 21:23:06 +0300 Subject: Contact_IsGroupChat - a helper to detect chat rooms --- include/m_contacts.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 @@ -82,6 +82,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 -- cgit v1.2.3