summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r--protocols/FacebookRM/docs/facebook - readme.txt2
-rw-r--r--protocols/FacebookRM/src/connection.cpp10
2 files changed, 3 insertions, 9 deletions
diff --git a/protocols/FacebookRM/docs/facebook - readme.txt b/protocols/FacebookRM/docs/facebook - readme.txt
index d991b3071e..49b79368ac 100644
--- a/protocols/FacebookRM/docs/facebook - readme.txt
+++ b/protocols/FacebookRM/docs/facebook - readme.txt
@@ -18,7 +18,7 @@ Info:
Information about statuses
--------------------------------
- Online = connected to fb, chat is online
- - Invisible = connected to fb, but only for getting feeds and notifications - CHAT is OFFLINE
+ - Invisible = connected to fb, chat is offline, but you can still see other people online, receive messages, newsfeeds and notifications
- Offline = disconnected
--------------------------------
diff --git a/protocols/FacebookRM/src/connection.cpp b/protocols/FacebookRM/src/connection.cpp
index 7ecc553f20..56673fe6df 100644
--- a/protocols/FacebookRM/src/connection.cpp
+++ b/protocols/FacebookRM/src/connection.cpp
@@ -129,12 +129,7 @@ void FacebookProto::ChangeStatus(void*)
facy.chat_state(!m_invisible);
- if (m_invisible) {
- facy.buddies.clear();
- SetAllContactStatuses(ID_STATUS_OFFLINE);
- } else {
- ForkThread(&FacebookProto::ProcessBuddyList, NULL);
- }
+ ForkThread(&FacebookProto::ProcessBuddyList, NULL);
m_iStatus = facy.self_.status_id = new_status;
ProtoBroadcastAck(0, ACKTYPE_STATUS, ACKRESULT_SUCCESS, (HANDLE)old_status, m_iStatus);
@@ -188,8 +183,7 @@ void FacebookProto::UpdateLoop(void *)
for (int i = -1; !isOffline(); i = ++i % 50)
{
if (i != -1) {
- if (!isInvisible())
- ProcessBuddyList(NULL);
+ ProcessBuddyList(NULL);
if (getByte(FACEBOOK_KEY_EVENT_FEEDS_ENABLE, DEFAULT_EVENT_FEEDS_ENABLE))
ProcessFeeds(NULL);