From ee8c388aef77da6d8a7ea900cfba8661faefb30b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 5 Jan 2023 15:24:07 +0300 Subject: new database functions for Telegram --- plugins/Scriver/src/msgs.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'plugins/Scriver/src/msgs.cpp') 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)) -- cgit v1.2.3