diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-04-21 14:50:39 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-04-21 14:50:39 +0000 |
commit | 591b56b22064c79e685b02ad8df809112e0142f4 (patch) | |
tree | dd60a0c78f8b0b6c1d0f5c312650311503ce34ef /protocols/FacebookRM/src/messages.cpp | |
parent | 1506353f98b6f2862ae0d701b837b4378ed0b620 (diff) |
Facebook: Send typing notifications even to offline contacts
git-svn-id: http://svn.miranda-ng.org/main/trunk@9010 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/messages.cpp')
-rw-r--r-- | protocols/FacebookRM/src/messages.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/messages.cpp b/protocols/FacebookRM/src/messages.cpp index 31ffbc4c28..20b66f14c4 100644 --- a/protocols/FacebookRM/src/messages.cpp +++ b/protocols/FacebookRM/src/messages.cpp @@ -130,9 +130,8 @@ void FacebookProto::SendTypingWorker(void *p) send_typing *typing = static_cast<send_typing*>(p);
- // TODO: don't send typing when we are not online?
- // Dont send typing notifications to contacts, that are offline or not friends
- if (getWord(typing->hContact, "Status", 0) == ID_STATUS_OFFLINE || getWord(typing->hContact, FACEBOOK_KEY_CONTACT_TYPE, 0) != CONTACT_FRIEND) {
+ // Dont send typing notifications to not friends - Facebook won't give them that info anyway
+ if (getWord(typing->hContact, FACEBOOK_KEY_CONTACT_TYPE, 0) != CONTACT_FRIEND) {
delete typing;
return;
}
|