diff options
Diffstat (limited to 'protocols/WhatsApp/src/main.cpp')
-rw-r--r-- | protocols/WhatsApp/src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/WhatsApp/src/main.cpp b/protocols/WhatsApp/src/main.cpp index 8cff6e9715..13f128bcef 100644 --- a/protocols/WhatsApp/src/main.cpp +++ b/protocols/WhatsApp/src/main.cpp @@ -1,5 +1,6 @@ #include "common.h"
+JSONSERVICEINTERFACE jsi;
CLIST_INTERFACE* pcli;
int hLangpack;
@@ -70,9 +71,8 @@ static HANDLE g_hEvents[1]; extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
-
- pcli = reinterpret_cast<CLIST_INTERFACE*>( CallService(
- MS_CLIST_RETRIEVE_INTERFACE,0,reinterpret_cast<LPARAM>(g_hInstance)));
+ mir_getCLI();
+ json_getJSI(&jsi);
PROTOCOLDESCRIPTOR pd = { sizeof(pd) };
pd.szName = "WhatsApp";
|