diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-08-25 20:18:31 +0200 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-08-25 20:18:31 +0200 |
commit | 37d4c1e1664053aa1ad6848ed8e5aae749fd5924 (patch) | |
tree | bfd3419ab8e5b8940ebc31c6465afb0151c6c818 /protocols/FacebookRM | |
parent | 8b737fdfa7bb85fd27c4c850515863e79a72edd9 (diff) |
Facebook: Clear "message seen" when we send message from another instance
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/src/process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index 8891b38478..48c128bdbe 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -943,7 +943,7 @@ void FacebookProto::ReceiveMessages(std::vector<facebook_message> &messages, boo } // Reset the "message seen" info when we get any new message (doesn't matter if sent from other instance or received) - if (msg.isUnread) + if (msg.isUnread || !msg.isIncoming) facy.erase_reader(hContact); } } |