From 37d4c1e1664053aa1ad6848ed8e5aae749fd5924 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Fri, 25 Aug 2017 20:18:31 +0200 Subject: Facebook: Clear "message seen" when we send message from another instance --- protocols/FacebookRM/src/process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/FacebookRM/src') 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 &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); } } -- cgit v1.2.3