mirror of https://github.com/zulip/zulip.git
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:
parent
8b91ea3a74
commit
e840e5b3a8
|
@ -38,8 +38,6 @@ function blocked_older() {
|
|||
blocked_newer();
|
||||
blocked_older();
|
||||
|
||||
assert(fetch_status.can_append());
|
||||
|
||||
reset();
|
||||
|
||||
fetch_status.start_initial_narrow();
|
||||
|
|
|
@ -45,10 +45,6 @@ var FetchStatus = function () {
|
|||
return !loading_newer && !found_newest;
|
||||
};
|
||||
|
||||
self.can_append = function () {
|
||||
return found_newest;
|
||||
};
|
||||
|
||||
return self;
|
||||
|
||||
};
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue