Revert "Ignore new messages when lists are behind."

This reverts commit bcdd12773e.

We need to do some improvements in handling FetchStatus for initial
narrows before this will be safe to deploy in production.
This commit is contained in:
Tim Abbott 2018-03-29 10:11:15 -07:00
parent 8b91ea3a74
commit e840e5b3a8
3 changed files with 0 additions and 11 deletions

View File

@ -38,8 +38,6 @@ function blocked_older() {
blocked_newer();
blocked_older();
assert(fetch_status.can_append());
reset();
fetch_status.start_initial_narrow();

View File

@ -45,10 +45,6 @@ var FetchStatus = function () {
return !loading_newer && !found_newest;
};
self.can_append = function () {
return found_newest;
};
return self;
};

View File

@ -42,11 +42,6 @@ exports.MessageList.prototype = {
var bottom_messages = [];
var interior_messages = [];
if (opts.messages_are_new && !self.fetch_status.can_append()) {
blueslip.log('Ignoring new message(s) for list that is behind on fetches');
return;
}
// If we're initially populating the list, save the messages in
// bottom_messages regardless
if (self.selected_id() === -1 && self.empty()) {