summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history_control.cpp')
-rw-r--r--plugins/NewStory/src/history_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index 398c6b24ab..bcb75402f8 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -179,7 +179,7 @@ struct NewstoryListData : public MZeroedObject
ptrA szUtf(mir_utf8encodeW(pItem->wtext));
pItem->dbe.cbBlob = (int)mir_strlen(szUtf) + 1;
pItem->dbe.pBlob = (uint8_t *)szUtf.get();
- db_event_edit(pItem->hContact, pItem->hEvent, &pItem->dbe);
+ db_event_edit(pItem->hEvent, &pItem->dbe);
if (auto *ppro = Proto_GetInstance(pItem->hContact))
ppro->OnEventEdited(pItem->hContact, pItem->hEvent);