disabling downvotes should have a global effect

This commit is contained in:
rimu 2024-08-07 17:17:38 +12:00
parent 87608686eb
commit ac8a7a31f3

View file

@ -594,7 +594,7 @@ def can_downvote(user, community: Community, site=None) -> bool:
except:
site = Site.query.get(1)
if not site.enable_downvotes and community.is_local():
if not site.enable_downvotes:
return False
if community.local_only and not user.is_local():