From ee868b7339322e7222cb62741f397d97180c96cb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 21 Oct 2024 18:17:12 +0300 Subject: VK: remote read support for NewStory --- protocols/VKontakte/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/VKontakte/src/main.cpp') diff --git a/protocols/VKontakte/src/main.cpp b/protocols/VKontakte/src/main.cpp index c00df3398d..036d1f5f21 100644 --- a/protocols/VKontakte/src/main.cpp +++ b/protocols/VKontakte/src/main.cpp @@ -19,7 +19,6 @@ along with this program. If not, see . #include "version.h" CMPlugin g_plugin; -bool g_bMessageState; ///////////////////////////////////////////////////////////////////////////////////////// @@ -52,7 +51,8 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_PROTOC static int OnModuleLoaded(WPARAM, LPARAM) { - g_bMessageState = ServiceExists(MS_MESSAGESTATE_UPDATE) != 0; + g_plugin.hasNewStory = ServiceExists("NewStory/RemoteRead"); + g_plugin.hasMessageState = ServiceExists(MS_MESSAGESTATE_UPDATE); return 0; } -- cgit v1.2.3