Remove another /messages call (#139)
This commit is contained in:
parent
c4412e8b68
commit
f1eb0bbac0
@ -370,8 +370,6 @@ TimelineView::addEvents(const Timeline &timeline)
|
|||||||
if (isInitialSync) {
|
if (isInitialSync) {
|
||||||
prev_batch_token_ = timeline.previousBatch();
|
prev_batch_token_ = timeline.previousBatch();
|
||||||
isInitialSync = false;
|
isInitialSync = false;
|
||||||
|
|
||||||
client_->messages(room_id_, prev_batch_token_);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Exclude the top stretch.
|
// Exclude the top stretch.
|
||||||
|
Loading…
Reference in New Issue
Block a user