1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

revert(chatlog): partially revert "prevent invalid history access"

This partially reverts commit e3e6e1d9c4.
This commit is contained in:
Anthony Bilinski 2020-04-04 22:39:02 -07:00
parent e18725c966
commit 5fc273da94
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

@ -995,10 +995,6 @@ void GenericChatForm::searchInBegin(const QString& phrase, const ParameterSearch
return;
}
if (messages.size() == 0) {
return;
}
if (chatLog.getNextIdx() == messages.rbegin()->first + 1) {
disableSearchText();
} else {