Don't display dialog when opening protected user's timeline. Closes #225

This commit is contained in:
2018-06-15 13:32:12 -05:00
parent 59e1299a0b
commit 49ce469c12
2 changed files with 4 additions and 3 deletions

View File

@@ -839,8 +839,9 @@ class Controller(object):
if usr["following"] == False:
commonMessageDialogs.no_following()
return
answer = commonMessageDialogs.protected_user()
if answer == widgetUtils.NO: return
if application.streaming_lives():
answer = commonMessageDialogs.protected_user()
if answer == widgetUtils.NO: return
tl_type = dlg.get_action()
if tl_type == "tweets":
if usr["statuses_count"] == 0: