diff options
author | Robert Pösel <robyer@seznam.cz> | 2016-07-17 19:42:55 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2016-07-17 19:42:55 +0000 |
commit | 144d4abae7e3bbdd5c7e6afb9098f84ab443f475 (patch) | |
tree | e9eaed82fac22d3ab3d565c3018b91e53c7edc65 /protocols/FacebookRM/src/json.cpp | |
parent | a992047f2696936927f9b220592ee0edd030bc42 (diff) |
Facebook: Greatly improve format of wall post's text
git-svn-id: http://svn.miranda-ng.org/main/trunk@17105 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index 4786213919..4cfa53c3fe 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -238,7 +238,7 @@ void parseAttachments(FacebookProto *proto, std::string *message_text, const JSO // shorten long descriptions if (description.length() > MAX_LINK_DESCRIPTION_LEN) - description = description.substr(0, MAX_LINK_DESCRIPTION_LEN) + "..."; + description = description.substr(0, MAX_LINK_DESCRIPTION_LEN) + TEXT_ELLIPSIS; if (link.find("l." FACEBOOK_SERVER_DOMAIN) != std::string::npos) { // de-facebook this link @@ -447,6 +447,8 @@ int facebook_json_parser::parse_messages(std::string *pData, std::vector<faceboo continue; } else { + // DeliveryReceipt, MarkRead, ThreadDelete + proto->debugLogA("json::parse_messages - Unknown class '%s'", cls.c_str()); } } |