diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-04-14 12:13:11 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-04-14 12:13:11 +0000 |
commit | 6ddbe0d66de5c6ef05c5bde9be9766eb23df1704 (patch) | |
tree | 6d9f7386ffece0206f6fb6b5b0360236b67ad9f5 /protocols/FacebookRM/src/proto.h | |
parent | 73af3297ebf6253ce4bad65545391941a7c0f179 (diff) |
Facebook: Don't load "unread messages" which we received already (but didn't read them yet)
- this needs further optimalization
- also it makes FACEBOOK_KEY_MESSAGE_ID no longer resident
git-svn-id: http://svn.miranda-ng.org/main/trunk@8973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/proto.h')
-rw-r--r-- | protocols/FacebookRM/src/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h index 346ece4193..a6d783f57d 100644 --- a/protocols/FacebookRM/src/proto.h +++ b/protocols/FacebookRM/src/proto.h @@ -204,7 +204,7 @@ public: void RemoveChatContact(const TCHAR *chat_id, const char *id);
void SetChatStatus(const char *chat_id, int status);
char *GetChatUsers(const TCHAR *chat_id);
- void ReceiveMessages(std::vector<facebook_message*> messages, bool local_timestamp);
+ void ReceiveMessages(std::vector<facebook_message*> messages, bool local_timestamp, bool check_duplicates = false);
// Connection client
facebook_client facy; // TODO: Refactor to "client" and make dynamic
|