From c2be50463ef2bf47f376bf9180f1aab81081c76d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 5 Sep 2023 12:17:09 +0300 Subject: NewStory: fix for offline files in the database-hosted group chats --- plugins/NewStory/src/history_array.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins') diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index 6d49365e01..2b2babe744 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -382,6 +382,11 @@ void HistoryArray::addChatEvent(SESSION_INFO *si, const LOGINFO *lin) if (si == nullptr) return; + if (lin->hEvent) { + addEvent(si->hContact, lin->hEvent, 1); + return; + } + CMStringW wszText; bool bTextUsed = Chat_GetDefaultEventDescr(si, lin, wszText); if (!bTextUsed && lin->ptszText) { -- cgit v1.2.3