Comments: graffiti in comments are now a "quirk"

This commit is contained in:
Celestora 2021-10-13 23:11:39 +03:00
parent 1c341874a0
commit 97a52eb656
2 changed files with 10 additions and 1 deletions

View file

@ -2,7 +2,7 @@
<div n:ifset="$thisUser"> <div n:ifset="$thisUser">
{var commentsURL = "/al_comments.pl/create/$model/" . $parent->getId()} {var commentsURL = "/al_comments.pl/create/$model/" . $parent->getId()}
{include "textArea.xml", route => $commentsURL, postOpts => false} {include "textArea.xml", route => $commentsURL, postOpts => false, graffiti => (bool) ovkGetQuirk("comments.allow-graffiti")}
</div> </div>
{if sizeof($comments) > 0} {if sizeof($comments) > 0}

View file

@ -25,3 +25,12 @@ profile.rating-bar-behaviour: 0
# (this option most likely won't have any meaningful effect, please use option 2) # (this option most likely won't have any meaningful effect, please use option 2)
# + Set this option to 0 if you want to use quirky VK and OpenVK behaviour # + Set this option to 0 if you want to use quirky VK and OpenVK behaviour
blobs.erase-upon-deletion: 0 blobs.erase-upon-deletion: 0
# Allow graffiti in comments?
# VK used to provide ability to post graffitis in comments, but only via
# mobile client.
#
# Possible values:
# + Set this option to 1 if you want to use quirky VK Mobile behaviour (yes graffiti in comments)
# + Set this option to 0 if you want to use VK Desktop behaviour (no graffiti in comments)
comments.allow-graffiti: 0