diff options
author | George Hazan <george.hazan@gmail.com> | 2025-03-21 14:31:09 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-03-21 14:31:09 +0300 |
commit | 2d2fa8dd248ba2e3e22f13533fef4c69bfbc3c2b (patch) | |
tree | 578bccc1bde93f02704e0147b3966391809160a4 /plugins/TabSRMM/src/globals.cpp | |
parent | 0afefd8efd13f9cc88baf8baef7c445329d68091 (diff) |
fixes #4863 (NewStory: отправленные файлы по-разному показываются в табсах и в истории)
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r-- | plugins/TabSRMM/src/globals.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp index f46d7b6fdd..a6ab43374d 100644 --- a/plugins/TabSRMM/src/globals.cpp +++ b/plugins/TabSRMM/src/globals.cpp @@ -442,7 +442,7 @@ struct MSavedEvent void CGlobals::RestoreUnreadMessageAlerts(void)
{
- OBJLIST<MSavedEvent> arEvents(10, NumericKeySortT);
+ OBJLIST<MSavedEvent> events(10, NumericKeySortT);
for (auto &hContact : Contacts()) {
if (Proto_GetBaseAccountName(hContact) == nullptr)
@@ -459,12 +459,12 @@ void CGlobals::RestoreUnreadMessageAlerts(void) if (!dbei.markedRead() && dbei.isAlertable())
if (!Srmm_FindWindow(hContact))
- arEvents.insert(new MSavedEvent(hContact, hDbEvent));
+ events.insert(new MSavedEvent(hContact, hDbEvent));
}
}
}
- for (auto &e : arEvents)
+ for (auto &e : events)
Srmm_AddEvent(e->hContact, e->hEvent);
}
|