summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-12-12 09:19:55 +0000
committerRobert Pösel <robyer@seznam.cz>2015-12-12 09:19:55 +0000
commit2588ad62ae2ee926ddd909e553a9089519afdc41 (patch)
treee51ca6bf5ca04ccb26e26c5cd44b733bd9f35367
parent87c333c782b643cfc93b87f71db92d8c7e983aa2 (diff)
Facebook: Don't set away users as idle
If this will be reconsidered and enabled marking away people as idle again, then don't forget to add reseting the idle flag back to false. Because in previous commit it was set only to true and never back, even when user was online again. git-svn-id: http://svn.miranda-ng.org/main/trunk@15844 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/FacebookRM/src/json.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp
index 864c37ab90..de3aeee4e3 100644
--- a/protocols/FacebookRM/src/json.cpp
+++ b/protocols/FacebookRM/src/json.cpp
@@ -103,7 +103,6 @@ int facebook_json_parser::parse_buddy_list(std::string *data, List::List< facebo
// Set contacts that were last active more than 1 minute ago as away
if (current->status_id == ID_STATUS_ONLINE && current->last_active > 0 && (now - current->last_active) > 60) {
current->status_id = ID_STATUS_AWAY;
- current->idle = true;
}
// Facebook is not sending this info anymore, it should be removed