summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-01-05 15:24:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-01-05 15:24:07 +0300
commitee8c388aef77da6d8a7ea900cfba8661faefb30b (patch)
tree34c11efd99230c499efb4ee5b98b1a89c2186714 /plugins/Scriver
parenta9617074481ebc9a35eb241d64997256931c1045 (diff)
new database functions for Telegram
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/msgs.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp
index 1bba4511be..ffb08f4e3c 100644
--- a/plugins/Scriver/src/msgs.cpp
+++ b/plugins/Scriver/src/msgs.cpp
@@ -248,7 +248,6 @@ static void RestoreUnreadMessageAlerts(void)
for (auto &hContact : Contacts()) {
for (MEVENT hDbEvent = db_event_firstUnread(hContact); hDbEvent; hDbEvent = db_event_next(hContact, hDbEvent)) {
DBEVENTINFO dbei = {};
- dbei.cbBlob = 0;
if (db_event_get(hDbEvent, &dbei))
continue;
if (dbei.markedRead() || !DbEventIsMessageOrCustom(&dbei) || !Proto_GetBaseAccountName(hContact))