Fix crash from logging unset indices (leftover after debugging)

This commit is contained in:
Nicolas Werner 2021-02-17 18:47:37 +01:00
parent 7ff7e33d4a
commit c9393fe3f6

View file

@ -753,11 +753,6 @@ TimelineModel::setCurrentIndex(int index)
(!oldReadIndex || *oldReadIndex < nextEventIndexAndId->first)) {
readEvent(nextEventIndexAndId->second);
currentReadId = QString::fromStdString(nextEventIndexAndId->second);
nhlog::net()->info("Marked as read {}, index {}, oldReadIndex {}",
nextEventIndexAndId->second,
nextEventIndexAndId->first,
*oldReadIndex);
}
}
}