From 9cca190bc3022311915eb1e95b3cc3bb89aed328 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 25 Jan 2020 14:24:53 +0300 Subject: massive code cleaning: - GCHOOK structure normalized (i.e. inlined SESSION_INFO fields replaced with a reference to SESSION_INFO); - fake CMsgDialog declaration added to m_srmm_int.h, thus duplicated declarations in plugins aren't needed anymore - other minor changes --- protocols/SkypeWeb/src/skype_chatrooms.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/SkypeWeb') diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp index d3c8421a74..d0577bb99f 100644 --- a/protocols/SkypeWeb/src/skype_chatrooms.cpp +++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp @@ -91,10 +91,10 @@ int CSkypeProto::OnGroupChatEventHook(WPARAM, LPARAM lParam) if (!gch) return 1; - if (mir_strcmp(gch->pszModule, m_szModuleName) != 0) + if (mir_strcmp(gch->si->pszModule, m_szModuleName) != 0) return 0; - T2Utf chat_id(gch->ptszID), user_id(gch->ptszUID); + T2Utf chat_id(gch->si->ptszID), user_id(gch->ptszUID); switch (gch->iType) { case GC_USER_MESSAGE: -- cgit v1.2.3