summaryrefslogtreecommitdiff
path: root/protocols/Facebook
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-02-22 20:14:33 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-02-22 20:14:33 +0300
commit4e9a3aaa1525e373fb3e8d694d5e9a16a6615756 (patch)
tree6199ba2fed442e3bdfcfe7e6c81f26638acb7f23 /protocols/Facebook
parenta993bb2ebfe4b6793bff5618918eceaad3a2db2c (diff)
fixes #3338 (New messages are no longer displayed in the systray)
Diffstat (limited to 'protocols/Facebook')
-rw-r--r--protocols/Facebook/src/server.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp
index a8fd12ebc7..b2f424a0e0 100644
--- a/protocols/Facebook/src/server.cpp
+++ b/protocols/Facebook/src/server.cpp
@@ -966,8 +966,9 @@ void FacebookProto::OnPublishReadReceipt(const JSONNode &root)
if (dbei.timestamp > timestamp)
break;
- if (!dbei.markedRead())
- db_event_markRead(pUser->hContact, ev, true);
+ if (dbei.flags & DBEF_SENT)
+ if (!dbei.markedRead())
+ db_event_markRead(pUser->hContact, ev, true);
}
}