From 41fb0d2d6a4417d3ad2d26df15b6d6ab68af0c68 Mon Sep 17 00:00:00 2001 From: Mataes Date: Fri, 3 Apr 2020 14:19:03 +0300 Subject: Newstory: fixed events reading --- plugins/NewStory/src/history_array.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewStory/src/history_array.cpp') diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index 378847f142..9676fdb6e9 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -163,7 +163,7 @@ bool HistoryArray::addHistory(MCONTACT hContact, EventLoadMode) tail->items[i].hEvent = hEvent; ++i; - hEvent = db_event_next(hEvent, hContact); + hEvent = db_event_next(hContact, hEvent); } return true; } -- cgit v1.2.3