diff options
Diffstat (limited to 'protocols/FacebookRM/src/process.cpp')
-rw-r--r-- | protocols/FacebookRM/src/process.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index c714c11419..6508f12fcd 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -1003,6 +1003,10 @@ void FacebookProto::ReceiveMessages(std::vector<facebook_message> &messages, boo dbei.pBlob = (PBYTE)msg.message_text.c_str(); db_event_add(hContact, &dbei); } + + // Reset the "message seen" info when we get any new message (doesn't matter if sent from other instance or received) + if (msg.isUnread) + facy.erase_reader(hContact); } } |