diff --git a/src/chatmodel.cpp b/src/chatmodel.cpp index a89a74a..4086d9a 100644 --- a/src/chatmodel.cpp +++ b/src/chatmodel.cpp @@ -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)));