diff options
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)
|