diff options
author | Robert Pösel <robyer@seznam.cz> | 2012-05-24 15:40:11 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2012-05-24 15:40:11 +0000 |
commit | 73d90fba8c5a90e1195481efa7e59535cf156413 (patch) | |
tree | 5a840a24e5f5da25fbc30921d01fae2c31b6adb3 /protocols/FacebookRM/messages.cpp | |
parent | f78628ed14bc7aa0fd3a7e10c5cb25c71e7748db (diff) |
Update for Facebook RM (processing friend requests, searching support,...)
git-svn-id: http://svn.miranda-ng.org/main/trunk@164 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/messages.cpp')
-rw-r--r-- | protocols/FacebookRM/messages.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/FacebookRM/messages.cpp b/protocols/FacebookRM/messages.cpp index d6873d60e4..d8fd7e6d58 100644 --- a/protocols/FacebookRM/messages.cpp +++ b/protocols/FacebookRM/messages.cpp @@ -114,6 +114,10 @@ void FacebookProto::SendTypingWorker(void *p) send_typing *typing = static_cast<send_typing*>(p);
+ // Dont send typing notifications to contacts, that are offline
+ if ( DBGetContactSettingWord(typing->hContact,m_szModuleName,"Status", 0) == ID_STATUS_OFFLINE )
+ return;
+
// TODO RM: maybe better send typing optimalization
facy.is_typing_ = (typing->status == PROTOTYPE_SELFTYPING_ON);
SleepEx( 2000, true );
|