mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-01-31 05:10:45 -06:00
fixed a bug about timeline creations introduced a few commits ago
This commit is contained in:
parent
2d8c706cde
commit
6bb534d250
@ -805,7 +805,7 @@ class Controller(object):
|
|||||||
if usr["statuses_count"] == 0:
|
if usr["statuses_count"] == 0:
|
||||||
commonMessageDialogs.no_tweets()
|
commonMessageDialogs.no_tweets()
|
||||||
return
|
return
|
||||||
if dlg.get_user() in buff.session.settings["other_buffers"]["timelines"]:
|
if usr["id_str"] in buff.session.settings["other_buffers"]["timelines"]:
|
||||||
commonMessageDialogs.timeline_exist()
|
commonMessageDialogs.timeline_exist()
|
||||||
return
|
return
|
||||||
tl = buffersController.baseBufferController(self.view.nb, "get_user_timeline", "%s-timeline" % (usr["id_str"],), buff.session, buff.session.db["user_name"], bufferType=None, user_id=usr["id_str"])
|
tl = buffersController.baseBufferController(self.view.nb, "get_user_timeline", "%s-timeline" % (usr["id_str"],), buff.session, buff.session.db["user_name"], bufferType=None, user_id=usr["id_str"])
|
||||||
@ -820,7 +820,7 @@ class Controller(object):
|
|||||||
if usr["favourites_count"] == 0:
|
if usr["favourites_count"] == 0:
|
||||||
commonMessageDialogs.no_favs()
|
commonMessageDialogs.no_favs()
|
||||||
return
|
return
|
||||||
if dlg.get_user() in buff.session.settings["other_buffers"]["favourites_timelines"]:
|
if usr["id_str"] in buff.session.settings["other_buffers"]["favourites_timelines"]:
|
||||||
commonMessageDialogs.timeline_exist()
|
commonMessageDialogs.timeline_exist()
|
||||||
return
|
return
|
||||||
tl = buffersController.baseBufferController(self.view.nb, "get_favorites", "%s-favorite" % (usr["id_str"],), buff.session, buff.session.db["user_name"], bufferType=None, user_id=usr["id_str"])
|
tl = buffersController.baseBufferController(self.view.nb, "get_favorites", "%s-favorite" % (usr["id_str"],), buff.session, buff.session.db["user_name"], bufferType=None, user_id=usr["id_str"])
|
||||||
@ -836,7 +836,7 @@ class Controller(object):
|
|||||||
if usr["followers_count"] == 0:
|
if usr["followers_count"] == 0:
|
||||||
commonMessageDialogs.no_followers()
|
commonMessageDialogs.no_followers()
|
||||||
return
|
return
|
||||||
if dlg.get_user() in buff.session.settings["other_buffers"]["followers_timelines"]:
|
if usr["id_str"] in buff.session.settings["other_buffers"]["followers_timelines"]:
|
||||||
commonMessageDialogs.timeline_exist()
|
commonMessageDialogs.timeline_exist()
|
||||||
return
|
return
|
||||||
tl = buffersController.peopleBufferController(self.view.nb, "get_followers_list", "%s-followers" % (usr["id_str"],), buff.session, buff.session.db["user_name"], user_id=usr["id_str"])
|
tl = buffersController.peopleBufferController(self.view.nb, "get_followers_list", "%s-followers" % (usr["id_str"],), buff.session, buff.session.db["user_name"], user_id=usr["id_str"])
|
||||||
@ -852,7 +852,7 @@ class Controller(object):
|
|||||||
if usr["friends_count"] == 0:
|
if usr["friends_count"] == 0:
|
||||||
commonMessageDialogs.no_friends()
|
commonMessageDialogs.no_friends()
|
||||||
return
|
return
|
||||||
if dlg.get_user() in buff.session.settings["other_buffers"]["friends_timelines"]:
|
if usr["id_str"] in buff.session.settings["other_buffers"]["friends_timelines"]:
|
||||||
commonMessageDialogs.timeline_exist()
|
commonMessageDialogs.timeline_exist()
|
||||||
return
|
return
|
||||||
tl = buffersController.peopleBufferController(self.view.nb, "get_friends_list", "%s-friends" % (usr["id_str"],), buff.session, buff.session.db["user_name"], user_id=usr["id_str"])
|
tl = buffersController.peopleBufferController(self.view.nb, "get_friends_list", "%s-friends" % (usr["id_str"],), buff.session, buff.session.db["user_name"], user_id=usr["id_str"])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user