diff options
author | George Hazan <george.hazan@gmail.com> | 2024-05-31 14:34:13 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-05-31 14:34:13 +0300 |
commit | f7035c38ae887d7c17755bbf65f7331fd357a681 (patch) | |
tree | 930cda3d78157a5bcfa04fca0bf8c13f100ddbbf /plugins/Scriver/src | |
parent | b4edf9dd084ae68d19f241005f5a1ce626f3d44e (diff) |
same fix for Scriver
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 799dc68cec..a111e894bf 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -252,6 +252,9 @@ static void RestoreUnreadMessageAlerts(void) OBJLIST<MSavedEvent> arEvents(10, NumericKeySortT);
for (auto &hContact : Contacts()) {
+ if (Contact::IsGroupChat(hContact) || !Proto_GetBaseAccountName(hContact))
+ continue;
+
for (MEVENT hDbEvent = db_event_firstUnread(hContact); hDbEvent; hDbEvent = db_event_next(hContact, hDbEvent)) {
DB::EventInfo dbei(hDbEvent, false);
if (!dbei)
|