diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-12-01 22:24:48 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-12-01 22:24:48 +0000 |
commit | 556d6a85c9d5f4e2d29b94526689568b4081c006 (patch) | |
tree | d93c8d208bdce79d0da51c4b1873cbc38df523c9 /protocols/FacebookRM/src/client.h | |
parent | c5b2c7be9f6e35e739ad2aeb5e6d8447bd449a60 (diff) |
Facebook: Optimize marking chat messages as read
Not mark as read every single message when loading history messages.
git-svn-id: http://svn.miranda-ng.org/main/trunk@11206 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/client.h')
-rw-r--r-- | protocols/FacebookRM/src/client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/client.h b/protocols/FacebookRM/src/client.h index d69c311363..e84aa3ad08 100644 --- a/protocols/FacebookRM/src/client.h +++ b/protocols/FacebookRM/src/client.h @@ -108,7 +108,7 @@ public: std::string get_server_type();
std::string get_privacy_type();
- std::map<MCONTACT, bool> ignore_read;
+ std::set<MCONTACT> ignore_read;
std::set<MCONTACT> typers; // store info about typing contacts, because Facebook doesn't send "stopped typing" event when there is actual message being sent
std::map<MCONTACT, time_t> readers;
|