summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-05-04 12:12:34 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-05-04 12:12:34 +0300
commitc5657cad31bc98c53d28363fa14cb5d73ab9bcd6 (patch)
tree713b95d0b0b814541ed62d967d85ce5d89f5d40e /include
parentd31d7379e40d6646935f74e5e7eefb46c92883f9 (diff)
more suitable form of Contacts::IsGroupChat
Diffstat (limited to 'include')
-rw-r--r--include/m_contacts.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/m_contacts.h b/include/m_contacts.h
index f2fc4fa665..44c88e2088 100644
--- a/include/m_contacts.h
+++ b/include/m_contacts.h
@@ -86,8 +86,9 @@ namespace Contact
/////////////////////////////////////////////////////////////////////////////////////////
// if contact is a group chat
+ // returns GCW_* constant or 0 if it's not a group chat
- MIR_APP_DLL(bool) IsGroupChat(MCONTACT hContact, const char *szProto = nullptr);
+ MIR_APP_DLL(int) IsGroupChat(MCONTACT hContact, const char *szProto = nullptr);
/////////////////////////////////////////////////////////////////////////////////////////
// gets / sets hidden status for a contact