From acf268216b0a7a4a48856ae00e4c7f4ff54f7ea2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 9 Oct 2023 11:38:06 +0300 Subject: YAMN: rest of unused services removed --- protocols/YAMN/src/proto/pop3/pop3comm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/YAMN/src/proto/pop3') diff --git a/protocols/YAMN/src/proto/pop3/pop3comm.cpp b/protocols/YAMN/src/proto/pop3/pop3comm.cpp index 761d9a9ffd..8efff5fb4d 100644 --- a/protocols/YAMN/src/proto/pop3/pop3comm.cpp +++ b/protocols/YAMN/src/proto/pop3/pop3comm.cpp @@ -675,7 +675,7 @@ DWORD WINAPI SynchroPOP3(CheckParam *WhichTemp) if (CheckFlags & YAMN_FORCECHECK) Param.nnflags |= YAMN_ACC_POP; // if force check, show popup anyway and if mailbrowser was opened, do not close Param.nnflags |= YAMN_ACC_MSGP; // do not close browser if already open - CallService(MS_YAMN_MAILBROWSER, (WPARAM)&Param, YAMN_MAILBROWSERVERSION); + RunMailBrowser(&Param); SetContactStatus(ActualAccount, ActualAccount->isCounting ? ID_STATUS_ONLINE : ID_STATUS_OFFLINE); } @@ -775,7 +775,7 @@ void __cdecl DeleteMailsPOP3(void *param) // We do not wait for free internet when calling from SynchroPOP3. It is because UseInternetFree is blocked if (POP3_DELETEFROMCHECK != POP3PluginParam) { YAMN_MAILBROWSERPARAM Param = { ActualAccount, YAMN_ACC_MSGP, YAMN_ACC_MSGP, YAMNParam }; // Just update the window - CallService(MS_YAMN_MAILBROWSER, (WPARAM)&Param, YAMN_MAILBROWSERVERSION); + RunMailBrowser(&Param); } return; } @@ -965,7 +965,7 @@ void __cdecl DeleteMailsPOP3(void *param) // if this functin was called from SynchroPOP3, then do not try to disconnect if (POP3_DELETEFROMCHECK != POP3PluginParam) { YAMN_MAILBROWSERPARAM Param = { ActualAccount, ActualCopied.NFlags, YAMN_ACC_MSGP, YAMNParam }; - CallService(MS_YAMN_MAILBROWSER, (WPARAM)&Param, YAMN_MAILBROWSERVERSION); + RunMailBrowser(&Param); if (0 == ActualAccount->InternetQueries.GetNumber()) { DataRX = MyClient->Quit(); -- cgit v1.2.3