diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-07-06 09:12:43 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-07-06 09:12:43 +0000 |
commit | 1b9085e85ef8c1213854ef174d82102f4819d1b1 (patch) | |
tree | 4e9e46926bc2853060cf9cfb598ffa111bcede08 /protocols/FacebookRM/src/connection.cpp | |
parent | 93f16e67f028d5f7473a49a6be62ca3b5072cf0d (diff) |
Facebook: Improve invisible status (now it's true-invisible again)
It's magic :-)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9705 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/connection.cpp')
-rw-r--r-- | protocols/FacebookRM/src/connection.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
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); |