From 9885bf54f788e831a80c76001340aa68d31d2aaa Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 25 Jan 2023 18:34:51 +0300 Subject: Group chats: ChatRoomID setting replaced with real protocol id --- include/m_chat_int.h | 1 - include/newpluginapi.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 135be0f7f8..b7be21801a 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -307,7 +307,6 @@ struct CHAT_MANAGER BOOL (*SetOffline)(MCONTACT hContact, BOOL bHide); BOOL (*SetAllOffline)(BOOL bHide, const char *pszModule); - MCONTACT (*FindRoom)(const char *pszModule, const wchar_t *pszRoom); char* (*Log_CreateRTF)(LOGSTREAMDATA *streamData); char* (*Log_CreateRtfHeader)(void); diff --git a/include/newpluginapi.h b/include/newpluginapi.h index a7e561461f..e836a93c9f 100644 --- a/include/newpluginapi.h +++ b/include/newpluginapi.h @@ -156,7 +156,7 @@ protected: // pass one of PROTOTYPE_* constants as type void RegisterProtocol(int type, pfnInitProto = nullptr, pfnUninitProto = nullptr); - void SetUniqueId(const char *pszUniqueId); + void SetUniqueId(const char *pszUniqueId, int type = 0); public: void debugLogA(LPCSTR szFormat, ...); -- cgit v1.2.3