diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-22 20:14:33 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-22 20:14:33 +0300 |
commit | 4e9a3aaa1525e373fb3e8d694d5e9a16a6615756 (patch) | |
tree | 6199ba2fed442e3bdfcfe7e6c81f26638acb7f23 /protocols/Facebook | |
parent | a993bb2ebfe4b6793bff5618918eceaad3a2db2c (diff) |
fixes #3338 (New messages are no longer displayed in the systray)
Diffstat (limited to 'protocols/Facebook')
-rw-r--r-- | protocols/Facebook/src/server.cpp | 5 |
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);
}
}
|