FFix for creating favourites timelines

This commit is contained in:
Manuel Cortez 2015-10-23 11:33:56 -05:00
parent f76b86b24d
commit 503c65692d
2 changed files with 3 additions and 3 deletions

View File

@ -779,7 +779,7 @@ class Controller(object):
if usr["favourites_count"] == 0:
commonMessageDialogs.no_favs()
return
if dlg.get_user() in buffer.session.settings["other_buffers"]["favourites_timelines"]:
if dlg.get_user() in buff.session.settings["other_buffers"]["favourites_timelines"]:
commonMessageDialogs.timeline_exist()
return
tl = buffersController.baseBufferController(self.view.nb, "get_favorites", "%s-favorite" % (dlg.get_user(),), buff.session, buff.session.db["user_name"], bufferType=None, screen_name=dlg.get_user())

View File

@ -322,12 +322,12 @@ class Session(object):
for z in i.users:
ids += str(z) + ", "
if ids != "":
print ids
# print ids
stream_threaded(self.timelinesStream.statuses.filter, self.session_id, follow=ids)
def add_friends(self):
try:
print "setting friends"
# print "setting friends"
self.timelinesStream.set_friends(self.main_stream.friends)
except AttributeError:
pass