Comstants for features

This commit is contained in:
Michael 2024-03-24 13:42:48 +00:00
parent d824bb536f
commit c041c65c1d
20 changed files with 273 additions and 274 deletions

View file

@ -1836,7 +1836,7 @@ class Transmitter
* }
*/
if (empty($item['uid']) || !Feature::isEnabled($item['uid'], 'explicit_mentions')) {
if (empty($item['uid']) || !Feature::isEnabled($item['uid'], Feature::EXPLICIT_MENTIONS)) {
$body = self::prependMentions($body, $item['uri-id'], $item['author-link']);
}