diff options
author | George Hazan <ghazan@miranda.im> | 2023-01-05 15:24:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-01-05 15:24:07 +0300 |
commit | ee8c388aef77da6d8a7ea900cfba8661faefb30b (patch) | |
tree | 34c11efd99230c499efb4ee5b98b1a89c2186714 /plugins/Scriver/src/msgs.cpp | |
parent | a9617074481ebc9a35eb241d64997256931c1045 (diff) |
new database functions for Telegram
Diffstat (limited to 'plugins/Scriver/src/msgs.cpp')
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 1 |
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))
|