diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-08-31 18:34:12 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-08-31 18:34:12 +0000 |
commit | cf488b3a97eb641d271cf0b3f183fc914ee0caf2 (patch) | |
tree | 6af6006ac7971c3bb9499258938ab36771b20ec4 /protocols/FacebookRM/src/json.cpp | |
parent | b35a3607236bcd628d56290fe4a72977454ac1c7 (diff) |
Facebook: Save message read time into DB as key "MessageRead" (DWORD)
git-svn-id: http://svn.miranda-ng.org/main/trunk@10347 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/json.cpp')
-rw-r--r-- | protocols/FacebookRM/src/json.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/json.cpp b/protocols/FacebookRM/src/json.cpp index 005780b45f..9590f0878d 100644 --- a/protocols/FacebookRM/src/json.cpp +++ b/protocols/FacebookRM/src/json.cpp @@ -482,8 +482,7 @@ int facebook_json_parser::parse_messages(void* data, std::vector< facebook_messa } else { // classic contact MCONTACT hContact = proto->ContactIDToHContact(json_as_pstring(reader)); if (hContact) { - proto->facy.readers.insert(std::make_pair(hContact, timestamp)); - proto->MessageRead(hContact); + proto->facy.insert_reader(hContact, timestamp); } } } else if (t == "deliver") { |