Browse Source

fix(chat): Undo removing of chat message insertion

Inadvertently removed in 919c6c9fe7
reviewable/pr6562/r1
Anthony Bilinski 3 years ago
parent
commit
b82580c814
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 2
      src/chatlog/chatwidget.cpp

2
src/chatlog/chatwidget.cpp

@ -537,6 +537,8 @@ void ChatWidget::insertChatlines(std::map<ChatLogIdx, ChatLine::Ptr> chatLines) @@ -537,6 +537,8 @@ void ChatWidget::insertChatlines(std::map<ChatLogIdx, ChatLine::Ptr> 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

Loading…
Cancel
Save