Merge pull request #295 from monich/searchModeActive

Initialize ChatModel::searchModeActive
This commit is contained in:
Sebastian Wolf 2021-01-08 22:22:09 +01:00 committed by GitHub
commit 2798a0f56a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)));