summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-10 15:02:31 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-10 15:02:31 +0300
commita5e4a0de5bfa544de0e77ce3bf5443386530d43f (patch)
tree8d9484fecd2b10c0fce6529e0f0d6695742836e3 /plugins/Scriver
parentaeb5c84e9c3a013f0ae12b4a7b2297f6f45dca4c (diff)
that was a very dirty crutch, let's remove it
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/msgs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp
index ed86c8b0ce..298fe9c5b7 100644
--- a/plugins/Scriver/src/msgs.cpp
+++ b/plugins/Scriver/src/msgs.cpp
@@ -259,7 +259,7 @@ static void RestoreUnreadMessageAlerts(void)
DB::EventInfo dbei(hDbEvent, false);
if (!dbei)
continue;
- if (dbei.markedRead() || !dbei.isSrmm() || !Proto_GetBaseAccountName(hContact))
+ if (dbei.bRead || !dbei.isSrmm() || !Proto_GetBaseAccountName(hContact))
continue;
int windowAlreadyExists = Srmm_FindWindow(hContact) != nullptr;