diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-04-05 09:42:27 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-04-05 09:42:27 +0000 |
commit | 6accc5c67e28a76a494526206058e1b7e50b09e0 (patch) | |
tree | fca7b4c111f6f385e601eadd163b3242dadb3a7f /protocols/FacebookRM/src/utils.cpp | |
parent | fed159c8771f96f2c35d2d8b1d0d5dc71957c894 (diff) |
Facebook: Fix newsfeeds (remove "Translate" link and load correct user_id)
git-svn-id: http://svn.miranda-ng.org/main/trunk@8861 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/utils.cpp')
-rw-r--r-- | protocols/FacebookRM/src/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/utils.cpp b/protocols/FacebookRM/src/utils.cpp index 36d72a865f..8123bc9109 100644 --- a/protocols/FacebookRM/src/utils.cpp +++ b/protocols/FacebookRM/src/utils.cpp @@ -249,11 +249,11 @@ std::string utils::text::edit_html(std::string data) new_string = "";
while (end != std::string::npos)
{
- end = data.find("translate_story_link\\\">", start);
+ end = data.find("role=\\\"button\\\">", start);
if (end != std::string::npos)
{
new_string += data.substr(start, end - start);
- start = data.find("<\\/div", end);
+ start = data.find("<\\/a", end);
} else {
new_string += data.substr(start, data.length() - start);
}
|