summaryrefslogtreecommitdiff
path: root/plugins/NewStory
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory')
-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 0510a95d25..43e9d1e516 100644
--- a/plugins/NewStory/src/history_array.cpp
+++ b/plugins/NewStory/src/history_array.cpp
@@ -240,7 +240,7 @@ void ItemData::load(bool bFullLoad)
if (!(dbe.flags & DBEF_SENT)) {
if (!dbe.markedRead())
db_event_markRead(hContact, hEvent);
- Clist_RemoveEvent(hContact, hEvent);
+ Clist_RemoveEvent(-1, hEvent);
}
__fallthrough;