Respect FULLBRUTALISM flag when boosting or faving

This commit is contained in:
Jason McBrayer 2018-05-04 10:58:37 -04:00
parent 1004b88779
commit d39593868d
1 changed files with 6 additions and 2 deletions

View File

@ -244,7 +244,9 @@ def fav(request, id):
mastodon.status_favourite(id)
return redirect(thread, id)
else:
return render(request, 'main/fav.html', {"toot": toot})
return render(request, 'main/fav.html',
{"toot": toot,
'fullbrutalism': fullbrutalism_p(request)})
@never_cache
def boost(request, id):
@ -258,4 +260,6 @@ def boost(request, id):
mastodon.status_reblog(id)
return redirect(thread, id)
else:
return render(request, 'main/boost.html', {"toot": toot})
return render(request, 'main/boost.html',
{"toot": toot,
"fullbrutalism": fullbrutalism_p(request)})