Fixed a bugin inverted buffers

This commit is contained in:
Manuel Cortez 2017-05-08 04:12:06 +04:00
parent 77baa06fc3
commit 0a3219d12a

View File

@ -66,7 +66,7 @@ class Session(object):
if self.settings["general"]["reverse_timelines"] == False: if self.settings["general"]["reverse_timelines"] == False:
last_id = self.db[name][0]["id"] last_id = self.db[name][0]["id"]
else: else:
last_id = self.db[self.name][-1]["id"] last_id = self.db[name][-1]["id"]
for i in data: for i in data:
if ignore_older and last_id != None: if ignore_older and last_id != None:
if i["id"] < last_id: if i["id"] < last_id: