summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-07-25 18:41:21 +0000
committerRobert Pösel <robyer@seznam.cz>2013-07-25 18:41:21 +0000
commit9d4577f64db5cd58b2157d3bcccb972d774364de (patch)
tree6ec59a81aafeeb23391cededa36e9aedd200484f /protocols/FacebookRM/src
parent0c8684347dbae1a414176968edf72ad049151592 (diff)
Facebook: fix for buddylist refreshing (thanks Nobodyreal for pointing to)
git-svn-id: http://svn.miranda-ng.org/main/trunk@5483 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src')
-rw-r--r--protocols/FacebookRM/src/process.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp
index 24b9c3b7d0..5b21aadaf5 100644
--- a/protocols/FacebookRM/src/process.cpp
+++ b/protocols/FacebookRM/src/process.cpp
@@ -63,6 +63,7 @@ void FacebookProto::ProcessBuddyList(void* data)
fbu->status_id = ID_STATUS_OFFLINE;
break;
}
+ LOG(" Now %s: %s", status, fbu->user_id.c_str());
if (!fbu->deleted)
{
@@ -123,13 +124,6 @@ void FacebookProto::ProcessBuddyList(void* data)
// Check avatar change
CheckAvatarChange(fbu->handle, fbu->image_url);
}
-
- std::string name_log = fbu->real_name;
- if (name_log.empty() && i->data->handle)
- name_log = ptrA(getStringA(i->data->handle, FACEBOOK_KEY_NAME));
- if (name_log.empty())
- name_log = fbu->user_id;
- LOG(" Now %s: %s", status, name_log.c_str());
}
LOG("***** Buddy list processed");