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

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

View File

@ -1,5 +1,5 @@
Tw Blue is free software, licensed under the GNU GPL license, either version 2 or, at your option, any later version. You can view the license in the file named license.txt, or online at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
Copyright © 2013-2015. Manuel Cortéz
Copyright © 2013-2018. Manuel Cortéz
Documentation is written by Sukil Etxenike, Brian Hartgen and Bill Dengler, covered by the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 license. You can read the license at https://creativecommons.org/licenses/by-nc-sa/2.5/

View File

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