Skip to content
Snippets Groups Projects
Commit c9393fe3 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix crash from logging unset indices (leftover after debugging)

parent 7ff7e33d
No related branches found
No related tags found
No related merge requests found
Pipeline #661 passed
......@@ -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);
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment