diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-20 14:55:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-20 14:55:40 +0300 |
commit | 53883dbf269be2921b63c3d898b68ee3ead164d8 (patch) | |
tree | 89dc63ffc51d1fcce510aca0d56d776519624593 | |
parent | 1decc1257282aabd4165a5bce57a423896c55ca6 (diff) |
fixes #3217 (WhatsApp: "chinese" in account manager)
-rw-r--r-- | protocols/WhatsApp/src/iq.cpp | 2 | ||||
-rw-r--r-- | protocols/WhatsApp/src/main.cpp | 1 | ||||
-rw-r--r-- | protocols/WhatsApp/src/proto.cpp | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/iq.cpp b/protocols/WhatsApp/src/iq.cpp index cbcd8f509d..46e10e3b6f 100644 --- a/protocols/WhatsApp/src/iq.cpp +++ b/protocols/WhatsApp/src/iq.cpp @@ -251,7 +251,7 @@ void WhatsAppProto::OnReceiveMessage(const WANode &node) SendReceipt(szChatId, pszReceiptTo, msgId, pszReceiptType); } - catch (const char *pszError) { + catch (const char *) { } if (!iDecryptable) { diff --git a/protocols/WhatsApp/src/main.cpp b/protocols/WhatsApp/src/main.cpp index 4d8fc05d26..ffd3766719 100644 --- a/protocols/WhatsApp/src/main.cpp +++ b/protocols/WhatsApp/src/main.cpp @@ -23,6 +23,7 @@ PLUGININFOEX pluginInfo = { __DESCRIPTION, __AUTHOR, __COPYRIGHT, + __AUTHORWEB, UNICODE_AWARE, //not transient // {008B9CE1-154B-44E4-9823-97C1AAB00C3C} { 0x8b9ce1, 0x154b, 0x44e4, { 0x98, 0x23, 0x97, 0xc1, 0xaa, 0xb0, 0xc, 0x3c }} diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp index e04c2b253f..75a562c067 100644 --- a/protocols/WhatsApp/src/proto.cpp +++ b/protocols/WhatsApp/src/proto.cpp @@ -145,7 +145,7 @@ INT_PTR WhatsAppProto::GetCaps(int type, MCONTACT) case PFLAGNUM_5: return 0; case PFLAG_UNIQUEIDTEXT: - return (DWORD_PTR)"WhatsApp ID"; + return (DWORD_PTR)L"WhatsApp ID"; } return 0; } |