summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-08-25 20:36:32 +0200
committerRobert Pösel <robyer@seznam.cz>2017-08-25 20:36:32 +0200
commitd60c723ec544b2ffde19a7017a75758ce696898c (patch)
treef3490a52198df7d4b6919aec65189d7b7c0e0401 /protocols
parent37d4c1e1664053aa1ad6848ed8e5aae749fd5924 (diff)
Facebook: Fix parsing newsfeeds/memories (fixes #882)
Diffstat (limited to 'protocols')
-rw-r--r--protocols/FacebookRM/src/process.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp
index 48c128bdbe..a877f4e6ab 100644
--- a/protocols/FacebookRM/src/process.cpp
+++ b/protocols/FacebookRM/src/process.cpp
@@ -509,7 +509,7 @@ void parseFeeds(const std::string &text, std::vector<facebook_newsfeed *> &news,
DWORD new_time = last_post_time;
- while ((pos = text.find("<div class=\"fbUserContent", pos)) != std::string::npos && limit <= 25)
+ while ((pos = text.find("fbUserPost\"", pos)) != std::string::npos && limit <= 25)
{
std::string post = text.substr(pos, text.find("</form>", pos) - pos);
pos += 5;