summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-07-21 11:30:06 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-07-21 11:30:06 +0300
commit5ddeb2223413391589a77ef2620d561d21078cf4 (patch)
treeab1f2f52595ef99d5cca39b24ba64aa186bfe1c4 /plugins/NewStory/src
parentd759d08e5b180f5a872ffde53dbb764d52b73724 (diff)
fixes #4549 (NewStory: групчаты глючат)
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r--plugins/NewStory/src/history_array.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp
index 959de8c8e1..f83e764288 100644
--- a/plugins/NewStory/src/history_array.cpp
+++ b/plugins/NewStory/src/history_array.cpp
@@ -644,7 +644,7 @@ ItemData& HistoryArray::allocateItem()
void HistoryArray::checkGC(ItemData &p, SESSION_INFO *si)
{
- p.load();
+ p.fetch();
if (p.dbe.szUserId) {
Utf2T wszUser(p.dbe.szUserId);
if (auto *pUser = g_chatApi.UM_FindUser(si, wszUser))