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 b04639c6d0
commit 5d44cd773f
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C

View File

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