From 92b173c3a8553b59077aa2757c9627cb4c73d29e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 20 Jan 2017 00:11:36 +0300 Subject: Chat_NewSession to return a pointer to a newly created session, not to dig it anymore --- include/m_chat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_chat.h b/include/m_chat.h index 12917f70ac..7f1adaac8d 100644 --- a/include/m_chat.h +++ b/include/m_chat.h @@ -173,7 +173,7 @@ EXTERN_C MIR_APP_DLL(int) Chat_Register(const GCREGISTER*); #define GCW_PRIVMESS 3 // NOT SUPPORTED YET! the session is a 1 to 1 session, but with additional // support for adding more users etc. ex "MSN session". -EXTERN_C MIR_APP_DLL(int) Chat_NewSession( +EXTERN_C MIR_APP_DLL(struct GCSessionInfoBase*) Chat_NewSession( int iType, // Use one of the GCW_* flags above to set the type of session const char *pszModule, // The name of the protocol owning the session (the same as pszModule when you register) const wchar_t *ptszID, // The unique identifier for the session. -- cgit v1.2.3