It is possible to load previous items in the home buffer properly, and the feature works too in wall buffers and timelines

This commit is contained in:
2019-02-11 04:53:32 -06:00
parent fbada0c4be
commit 4b6d5a86b2
3 changed files with 14 additions and 0 deletions

View File

@@ -410,6 +410,9 @@ class feedBuffer(baseBuffer):
[self.insert(i, True) for i in v]
else:
[self.insert(i) for i in self.session.db[self.name]["items"][:num]]
else:
if num > 0:
[self.insert(i, False) for i in self.session.db[self.name]["items"][-num:]]
return retrieved
def remove_buffer(self, mandatory=False):