diff options
author | George Hazan <ghazan@miranda.im> | 2020-01-07 14:57:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-01-07 14:57:30 +0300 |
commit | 66416c081f0c5e8323689c93648494c666f076de (patch) | |
tree | 8ad63651ff35f10b72b2585116d050a19676b4a0 /protocols/Facebook | |
parent | 2f19b814d2658666ecdf2106768a88d5b2ee286b (diff) |
Facebook: fix for umlauts in messages
Diffstat (limited to 'protocols/Facebook')
-rw-r--r-- | protocols/Facebook/src/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp index 84457e512d..1bd0062b1a 100644 --- a/protocols/Facebook/src/server.cpp +++ b/protocols/Facebook/src/server.cpp @@ -454,8 +454,8 @@ void FacebookProto::OnPublishPrivateMessage(const JSONNode &root) __int64 actorFbId = _wtoi64(metadata["actorFbId"].as_mstring()); - CMStringA szId(metadata["messageId"].as_mstring()); - CMStringA szBody(root["body"].as_mstring()); + CMStringA szId(metadata["messageId"].as_string().c_str()); + CMStringA szBody(root["body"].as_string().c_str()); if (szBody.IsEmpty()) szBody = metadata["snippet"].as_mstring(); |