mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(chat): Undo removing of chat message insertion
Inadvertently removed in 919c6c9fe7
This commit is contained in:
parent
dd9524085f
commit
b82580c814
|
@ -537,6 +537,8 @@ void ChatWidget::insertChatlines(std::map<ChatLogIdx, ChatLine::Ptr> chatLines)
|
||||||
auto idx = chatLine.first;
|
auto idx = chatLine.first;
|
||||||
auto const& l = chatLine.second;
|
auto const& l = chatLine.second;
|
||||||
|
|
||||||
|
chatLineStorage->insertChatMessage(idx, chatLog.at(idx).getTimestamp(), l);
|
||||||
|
|
||||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
|
||||||
auto date = chatLog.at(idx).getTimestamp().date().startOfDay();
|
auto date = chatLog.at(idx).getTimestamp().date().startOfDay();
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user