mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge pull request #5358
TriKriSta (1): fix: show the date every new day (fixes #5280)
This commit is contained in:
commit
ebbc0f2e72
|
@ -814,7 +814,7 @@ void ChatForm::insertChatlines(QList<ChatLine::Ptr> chatLines)
|
|||
verticalBar->setValue(savedSliderPos);
|
||||
}
|
||||
|
||||
QDate ChatForm::addDateLineIfNeeded(QList<ChatLine::Ptr> msgs, QDate const& lastDate,
|
||||
QDate ChatForm::addDateLineIfNeeded(QList<ChatLine::Ptr>& msgs, QDate const& lastDate,
|
||||
History::HistMessage const& newMessage,
|
||||
MessageMetadata const& metadata)
|
||||
{
|
||||
|
|
|
@ -128,7 +128,7 @@ private:
|
|||
{}
|
||||
};
|
||||
void handleLoadedMessages(QList<History::HistMessage> newHistMsgs, bool processUndelivered);
|
||||
QDate addDateLineIfNeeded(QList<ChatLine::Ptr> msgs, QDate const& lastDate,
|
||||
QDate addDateLineIfNeeded(QList<ChatLine::Ptr>& msgs, QDate const& lastDate,
|
||||
History::HistMessage const& newMessage, MessageMetadata const& metadata);
|
||||
MessageMetadata getMessageMetadata(History::HistMessage const& histMessage);
|
||||
ChatMessage::Ptr chatMessageFromHistMessage(History::HistMessage const& histMessage,
|
||||
|
|
Loading…
Reference in New Issue
Block a user