mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-02 16:21:32 -08:00
disabling downvotes should have a global effect
This commit is contained in:
parent
87608686eb
commit
ac8a7a31f3
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Reference in a new issue