summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-08 18:35:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-08 18:35:02 +0300
commit0b084cff5bb71a140d5181caa452a95b74ac8103 (patch)
treeb0394812fbed52040485f90a1815892ad4f565fa /include
parent7f1f391faf93d216bfe651131a95d70961f8ffa2 (diff)
chats:
- Chat_GetGroup & Chat_SetGroup functions added to stop the zoo with chat default group name; - fixes #1655 (custom chat group name doesn't work in Discord)
Diffstat (limited to 'include')
-rw-r--r--include/m_chat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/m_chat.h b/include/m_chat.h
index 6eccba6551..818883ff62 100644
--- a/include/m_chat.h
+++ b/include/m_chat.h
@@ -378,6 +378,9 @@ EXTERN_C MIR_APP_DLL(int) Chat_ChangeUserId(const char *szModule, const wchar_t
EXTERN_C MIR_APP_DLL(int) Chat_SendUserMessage(const char *szModule, const wchar_t *wszId, const wchar_t *wszText);
EXTERN_C MIR_APP_DLL(int) Chat_SetStatusbarText(const char *szModule, const wchar_t *wszId, const wchar_t *wszText);
+EXTERN_C MIR_APP_DLL(wchar_t*) Chat_GetGroup(void);
+EXTERN_C MIR_APP_DLL(void) Chat_SetGroup(const wchar_t*);
+
EXTERN_C MIR_APP_DLL(wchar_t*) Chat_UnescapeTags(wchar_t *str_in);
/////////////////////////////////////////////////////////////////////////////////////////