summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2017-08-25 20:18:31 +0200
committerRobert Pösel <robyer@seznam.cz>2017-08-25 20:18:31 +0200
commit37d4c1e1664053aa1ad6848ed8e5aae749fd5924 (patch)
treebfd3419ab8e5b8940ebc31c6465afb0151c6c818
parent8b737fdfa7bb85fd27c4c850515863e79a72edd9 (diff)
Facebook: Clear "message seen" when we send message from another instance
-rw-r--r--protocols/FacebookRM/src/process.cpp2
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);
}
}