Added basics for timelines support

This commit is contained in:
2016-04-12 15:36:30 -05:00
parent a4d4148a82
commit 69f4964158
4 changed files with 70 additions and 1 deletions

View File

@@ -142,6 +142,13 @@ class baseBuffer(object):
def remove_buffer(self): return False
def get_users(self):
post = self.session.db[self.name]["items"][self.tab.list.get_selected()]
if post.has_key("type") == False:
return post["from_id"]
else:
return [post["source_id"]]
class feedBuffer(baseBuffer):
def get_items(self, show_nextpage=False):