From 63946d6a451ba85b0a098959590632da64a1f014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 5 Feb 2017 19:36:08 +0100 Subject: Facebook: Pages contacts should be "invisible", not "online" --- protocols/FacebookRM/src/process.cpp | 2 +- protocols/FacebookRM/src/proto.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index 0f4a4e736e..7cdec9f7fa 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -80,7 +80,7 @@ void FacebookProto::ProcessFriendList(void*) // If this contact is page, set it as invisible (if enabled in options) if (pagesAlwaysOnline && getByte(hContact, FACEBOOK_KEY_CONTACT_TYPE, CONTACT_NONE) == CONTACT_PAGE) { - setWord(hContact, "Status", ID_STATUS_ONLINE); + setWord(hContact, "Status", ID_STATUS_INVISIBLE); } facebook_user *fbu; diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index 246fbdd480..375ef125c9 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -377,7 +377,7 @@ int FacebookProto::GetInfo(MCONTACT hContact, int) // If this contact is page, set it as invisible (if enabled in options) if (getBool(FACEBOOK_KEY_PAGES_ALWAYS_ONLINE, DEFAULT_PAGES_ALWAYS_ONLINE) && fbu.type == CONTACT_PAGE) { - setWord(hContact, "Status", ID_STATUS_ONLINE); + setWord(hContact, "Status", ID_STATUS_INVISIBLE); } CheckAvatarChange(hContact, fbu.image_url); -- cgit v1.2.3