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/Scriver/src/msgs.cpp | |
parent | 0afefd8efd13f9cc88baf8baef7c445329d68091 (diff) |
fixes #4863 (NewStory: отправленные файлы по-разному показываются в табсах и в истории)
Diffstat (limited to 'plugins/Scriver/src/msgs.cpp')
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index 47f692d0a4..ed86c8b0ce 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -249,7 +249,7 @@ struct MSavedEvent static void RestoreUnreadMessageAlerts(void)
{
- OBJLIST<MSavedEvent> arEvents(10, NumericKeySortT);
+ OBJLIST<MSavedEvent> events(10, NumericKeySortT);
for (auto &hContact : Contacts()) {
if (Contact::IsGroupChat(hContact) || !Proto_GetBaseAccountName(hContact))
@@ -269,11 +269,11 @@ static void RestoreUnreadMessageAlerts(void) if (IsAutoPopup(hContact) && !windowAlreadyExists)
(new CMsgDialog(hContact, true))->Show();
else
- 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);
}
|