From 2be5844edd93ab3490b4689cad33d75b4c77f3a8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 28 Mar 2017 15:38:49 +0300 Subject: and finally MS_MSG_GETWINDOWDATA has gone, zihrono levraha --- plugins/WinterSpeak/src/SpeakAnnounce.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/WinterSpeak/src') diff --git a/plugins/WinterSpeak/src/SpeakAnnounce.cpp b/plugins/WinterSpeak/src/SpeakAnnounce.cpp index 0609548b59..ef9c85a2ec 100644 --- a/plugins/WinterSpeak/src/SpeakAnnounce.cpp +++ b/plugins/WinterSpeak/src/SpeakAnnounce.cpp @@ -148,7 +148,7 @@ bool SpeakAnnounce::readMessage(MCONTACT contact) if (m_db.getEventFlag(AnnounceDatabase::EventFlag_DialogOpen) || m_db.getEventFlag(AnnounceDatabase::EventFlag_DialogFocused)) { // Do not notify if window is already opened MessageWindowData mwd; - if (CallService(MS_MSG_GETWINDOWDATA, contact, (LPARAM)&mwd) == 0) { + if (Srmm_GetWindowData(contact, (LPARAM)&mwd) == 0) { if (m_db.getEventFlag(AnnounceDatabase::EventFlag_DialogOpen)) return ((mwd.uState & MSG_WINDOW_STATE_EXISTS) == 0); else if (m_db.getEventFlag(AnnounceDatabase::EventFlag_DialogFocused)) -- cgit v1.2.3