Initialize ChatModel::searchModeActive

This commit is contained in:
Slava Monich 2021-01-08 01:01:43 +02:00
parent e3370bf73e
commit 7f9166d1ae

View file

@ -105,7 +105,8 @@ bool ChatModel::MessageData::lessThan(const MessageData *message1, const Message
ChatModel::ChatModel(TDLibWrapper *tdLibWrapper) :
chatId(0),
inReload(false),
inIncrementalUpdate(false)
inIncrementalUpdate(false),
searchModeActive(false)
{
this->tdLibWrapper = tdLibWrapper;
connect(this->tdLibWrapper, SIGNAL(messagesReceived(QVariantList, int)), this, SLOT(handleMessagesReceived(QVariantList, int)));