Indicate blocked instance on person options

main
Bob Mottram 2023-08-29 18:56:15 +01:00
parent 3b632976af
commit 7c29ec3f98
1 changed files with 5 additions and 0 deletions

View File

@ -304,6 +304,11 @@ def html_person_options(default_timeline: str,
options_str += \
' <p class="optionsText"><b>' + \
translate['FollowAccountWarning'] + '</b></p>\n'
elif text_in_file('://' + options_domain + '\n',
send_block_filename, False):
options_str += \
' <p class="optionsText"><b>' + \
translate['FollowWarning'] + '</b></p>\n'
if follows_you and authorized:
options_str += \