allow shadowbanned-cels to use awards (the notifs they generate dont get sent anyway)

master
Aevann 2023-10-05 10:57:28 +03:00
parent 7770f7ab23
commit 87486c4425
1 changed files with 0 additions and 1 deletions

View File

@ -153,7 +153,6 @@ def award_thing(v, thing_type, id):
thing = get_comment(id)
if not thing.parent_post and not thing.wall_user_id: abort(404) # don't let users award messages
if v.shadowbanned: abort(500)
author = thing.author
AWARDS = deepcopy(AWARDS_ENABLED)