From e254312f9a660c83081ce2062ab14ba3c3614089 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 19 Sep 2017 14:12:58 +0300 Subject: useless structure GCDEST finally removed --- src/core/stdmsg/src/chat_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/stdmsg') diff --git a/src/core/stdmsg/src/chat_manager.cpp b/src/core/stdmsg/src/chat_manager.cpp index 3afa17bccc..913c3d0987 100644 --- a/src/core/stdmsg/src/chat_manager.cpp +++ b/src/core/stdmsg/src/chat_manager.cpp @@ -121,14 +121,14 @@ static void OnFlashWindow(SESSION_INFO *si, int bInactive) static BOOL DoTrayIcon(SESSION_INFO *si, GCEVENT *gce) { - if (gce->pDest->iType & g_Settings.dwTrayIconFlags) + if (gce->iType & g_Settings.dwTrayIconFlags) return oldDoTrayIcon(si, gce); return TRUE; } static BOOL DoPopup(SESSION_INFO *si, GCEVENT *gce) { - if (gce->pDest->iType & g_Settings.dwPopupFlags) + if (gce->iType & g_Settings.dwPopupFlags) return oldDoPopup(si, gce); return TRUE; } -- cgit v1.2.3