From c90272a48520b1937624c0058f94b06e536f5ff6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 30 Sep 2024 13:35:41 +0300 Subject: code cleaning --- protocols/WhatsApp/src/main.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'protocols/WhatsApp/src/main.cpp') diff --git a/protocols/WhatsApp/src/main.cpp b/protocols/WhatsApp/src/main.cpp index 20e8b83868..0bed10775b 100644 --- a/protocols/WhatsApp/src/main.cpp +++ b/protocols/WhatsApp/src/main.cpp @@ -39,18 +39,8 @@ CMPlugin::CMPlugin() : ///////////////////////////////////////////////////////////////////////////////////////// // Load -static int OnPluginLoaded(WPARAM, LPARAM) -{ - g_plugin.bHasMessageState = ServiceExists(MS_MESSAGESTATE_UPDATE); - return 0; -} - int CMPlugin::Load() { - HookEvent(ME_SYSTEM_MODULELOAD, OnPluginLoaded); - HookEvent(ME_SYSTEM_MODULEUNLOAD, OnPluginLoaded); - OnPluginLoaded(0, 0); - // special netlib user for reading avatars, blobs etc via HTTP protocol NETLIBUSER nlu = {}; nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE; -- cgit v1.2.3