merge-requests/30/head
Bob Mottram 2023-04-05 20:03:28 +01:00
parent 44a608a686
commit 76a43df0ff
2 changed files with 2 additions and 3 deletions

View File

@ -7580,7 +7580,7 @@ class PubServer(BaseHTTPRequestHandler):
save_reverse_timeline(base_dir,
self.server.reverse_sequence)
# show vote posts checkbox
# show poll/vote/question posts checkbox
show_vote_posts = True
if fields.get('showVotes'):
show_vote_posts = False

View File

@ -2774,8 +2774,7 @@ def html_edit_profile(server, translate: {},
# whether to show votes
show_vote_posts = True
show_vote_file = account_dir + '/.noVotes'
if os.path.isfile(show_vote_file):
if os.path.isfile(account_dir + '/.noVotes'):
show_vote_posts = False
# Option checkboxes