Revert "PERF: Send down gaps as the relevant posts load instead of front loading."

This reverts commit 4c3352528e.
This commit is contained in:
Guo Xiang Tan
2018-06-26 12:54:14 +08:00
parent 4c3352528e
commit 49ffc1eb61
3 changed files with 27 additions and 99 deletions

View File

@@ -850,10 +850,6 @@ export default RestModel.extend({
if (posts) {
posts.forEach(p => this.storePost(store.createRecord("post", p)));
}
if (result.post_stream.gaps) {
this.set("gaps", _.merge(this.get("gaps"), result.post_stream.gaps));
}
});
},