summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-02-05 19:36:08 +0100
committerRobert Pösel <robyer@seznam.cz>2017-02-05 20:32:15 +0100
commit63946d6a451ba85b0a098959590632da64a1f014 (patch)
tree231f4b631f66ab5ee5020fe44b05e1be7334d26f /protocols
parent9000595b551d09cbaf14cbfd7b49aa5aca3d9a90 (diff)
Facebook: Pages contacts should be "invisible", not "online"
Diffstat (limited to 'protocols')
-rw-r--r--protocols/FacebookRM/src/process.cpp2
-rw-r--r--protocols/FacebookRM/src/proto.cpp2
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);