Skip to content
Snippets Groups Projects
Commit 28dda237 authored by Konstantinos Sideris's avatar Konstantinos Sideris
Browse files

Don't block on empty from token

parent 3de650d5
No related branches found
No related tags found
No related merge requests found
......@@ -570,13 +570,6 @@ TimelineView::init()
void
TimelineView::getMessages()
{
if (prev_batch_token_.isEmpty()) {
nhlog::ui()->info("[{}] start of timeline reached, prev_batch token is empty",
room_id_.toStdString());
isTimelineFinished = true;
return;
}
mtx::http::MessagesOpts opts;
opts.room_id = room_id_.toStdString();
opts.from = prev_batch_token_.toStdString();
......
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