From 847e4465e3d8f0fba3428f467ce39a0e7770e26d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 8 Feb 2013 19:38:10 +0000 Subject: Facebook: Fixed getting friendship requests. git-svn-id: http://svn.miranda-ng.org/main/trunk@3483 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/process.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/FacebookRM/src/process.cpp') diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index 75d1c05dda..e57eec69da 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -569,7 +569,7 @@ void FacebookProto::ProcessFriendRequests( void* ) } // Parse it - std::string reqs = utils::text::source_get_value(&resp.data, 2, "
"); + std::string reqs = utils::text::source_get_value(&resp.data, 2, "class=\"mRequestItem", "al aps\">"); std::string::size_type pos = 0; std::string::size_type pos2 = 0; @@ -577,9 +577,9 @@ void FacebookProto::ProcessFriendRequests( void* ) while (!last && !reqs.empty()) { std::string req; - if ((pos2 = reqs.find("