From 27a552b8bf0f42af225e07b009d5b3e9c633e3fe Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Sat, 13 Oct 2018 23:47:14 +0300
Subject: group chats:

- GC_SHAREDUSERS removed;
- SESSION_INFO::pParent used instead to collect data about shared user info
- fix for SESSION_INFO::pMe calculation
- Discord chats now go offline when proto goes offline
---
 plugins/TabSRMM/src/muchighlight.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'plugins')

diff --git a/plugins/TabSRMM/src/muchighlight.cpp b/plugins/TabSRMM/src/muchighlight.cpp
index e32c086051..afbbcb907f 100644
--- a/plugins/TabSRMM/src/muchighlight.cpp
+++ b/plugins/TabSRMM/src/muchighlight.cpp
@@ -118,13 +118,13 @@ bool CMUCHighlight::match(const GCEVENT *pgce, const SESSION_INFO *psi, DWORD dw
 		return false;
 
 	if ((m_dwFlags & MATCH_TEXT) && (dwFlags & MATCH_TEXT) && (m_fHighlightMe || m_iTextPatterns > 0) && psi != nullptr) {
-		wchar_t	*p = g_chatApi.RemoveFormatting(pgce->ptszText);
+		wchar_t *p = g_chatApi.RemoveFormatting(pgce->ptszText);
 		p = NEWWSTR_ALLOCA(p);
 		if (p == nullptr)
 			return false;
 		CharLower(p);
 
-		wchar_t	*tszMe = ((psi && psi->pMe) ? NEWWSTR_ALLOCA(psi->pMe->pszNick) : nullptr);
+		wchar_t *tszMe = (psi && psi->getMe()) ? NEWWSTR_ALLOCA(psi->getMe()->pszNick) : nullptr;
 		if (tszMe)
 			CharLower(tszMe);
 
-- 
cgit v1.2.3