summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-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);
}
}