diff options
Diffstat (limited to 'plugins/NewStory')
-rw-r--r-- | plugins/NewStory/src/history_array.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index 3050e5af52..8ffa8c3106 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -469,11 +469,8 @@ void ItemData::load(int flags) void ItemData::markRead() { - if (!(dbe.flags & DBEF_SENT)) { - if (!dbe.markedRead()) - db_event_markRead(hContact, hEvent); - Clist_RemoveEvent(-1, hEvent); - } + if (!(dbe.flags & DBEF_SENT)) + dbe.wipeNotify(hEvent); } void ItemData::setText(HWND hwnd) |