summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-07-25 21:02:57 +0000
committerRobert Pösel <robyer@seznam.cz>2013-07-25 21:02:57 +0000
commitcae173e53eb38367866bb44572e9431492628338 (patch)
tree87acf780f3046738e4b1830fec1d8ca4eec91ce1
parent1856c9f9533c48e4943a3f2edb0be53ce498c88b (diff)
Facebook: Fixed loading own avatar
git-svn-id: http://svn.miranda-ng.org/main/trunk@5488 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/FacebookRM/src/communication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp
index f1671d2e4e..eb1f54bb97 100644
--- a/protocols/FacebookRM/src/communication.cpp
+++ b/protocols/FacebookRM/src/communication.cpp
@@ -867,7 +867,7 @@ bool facebook_client::home()
}
// Get avatar
- this->self_.image_url = utils::text::source_get_value(&resp.data, 4, "<i class=", "profpic", "<img src=\"", "\"");
+ this->self_.image_url = utils::text::source_get_value(&resp.data, 3, "class=\"l\"", "<img src=\"", "\"");
parent->Log(" Got self avatar: %s", this->self_.image_url.c_str());
parent->CheckAvatarChange(NULL, this->self_.image_url);