From b82580c81427e4350369fcaa4f9a986e84f31f9e Mon Sep 17 00:00:00 2001 From: Anthony Bilinski Date: Sat, 12 Mar 2022 20:11:51 -0800 Subject: [PATCH] fix(chat): Undo removing of chat message insertion Inadvertently removed in 919c6c9fe7016f33c824756f0fe5e05bc3296ac5 --- src/chatlog/chatwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chatlog/chatwidget.cpp b/src/chatlog/chatwidget.cpp index 9d5077acc..7e47c539d 100644 --- a/src/chatlog/chatwidget.cpp +++ b/src/chatlog/chatwidget.cpp @@ -537,6 +537,8 @@ void ChatWidget::insertChatlines(std::map chatLines) auto idx = chatLine.first; auto const& l = chatLine.second; + chatLineStorage->insertChatMessage(idx, chatLog.at(idx).getTimestamp(), l); + #if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)) auto date = chatLog.at(idx).getTimestamp().date().startOfDay(); #else