mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-11-02 16:37:19 -04:00
Respect FULLBRUTALISM flag when boosting or faving
This commit is contained in:
parent
1004b88779
commit
d39593868d
@ -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)})
|
||||
|
Loading…
Reference in New Issue
Block a user