summary refs log tree commit diff
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-08-31 14:56:55 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-08-31 14:56:55 +0300
commit28dda237c204066cfe979c04c8eab4b544e15081 (patch)
tree08a684b932dc879841058f6a16c4490ff21e2255
parentFill out missing fields in Info.plist (diff)
downloadnheko-28dda237c204066cfe979c04c8eab4b544e15081.tar.xz
Don't block on empty from token
-rw-r--r--src/timeline/TimelineView.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/timeline/TimelineView.cpp b/src/timeline/TimelineView.cpp

index a77bae6a..e6c36165 100644 --- a/src/timeline/TimelineView.cpp +++ b/src/timeline/TimelineView.cpp
@@ -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();