diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-08-11 21:20:17 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-08-11 21:20:17 +0000 |
commit | ea65832ded45760913f9256b39c28720ed183790 (patch) | |
tree | 42ec04a8efe1559cef0a5447591cc03e37f9bd4f /protocols/FacebookRM/src/process.cpp | |
parent | 6cc21c56cb5584b431d1d43ae678e20c3b5cb7ad (diff) |
Facebook: Make it positive, people like it positive...
git-svn-id: http://svn.miranda-ng.org/main/trunk@10161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/process.cpp')
-rw-r--r-- | protocols/FacebookRM/src/process.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index da8fb609b8..137483d9f6 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -461,7 +461,7 @@ void FacebookProto::LoadLastMessages(void *p) bool isChat = isChatRoom(hContact); - if (isChat && m_disableChat) + if (isChat && !m_enableChat) return; ptrA item_id(getStringA(hContact, isChat ? FACEBOOK_KEY_TID : FACEBOOK_KEY_ID)); @@ -601,7 +601,7 @@ void FacebookProto::ReceiveMessages(std::vector<facebook_message*> messages, boo DWORD timestamp = local_timestamp || !messages[i]->time ? ::time(NULL) : messages[i]->time; if (messages[i]->isChat) { - if (m_disableChat) { + if (!m_enableChat) { delete messages[i]; continue; } |