Reserve and use 'moderated' tag

dev
gravel 12 months ago
parent 53ad7da550
commit 9340cb1dec
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -341,6 +341,7 @@
public const USERS_PER_STAFF = 50;
public const USERS_PER_STAFF_WARNING = 200;
public const MINIMUM_STAFF = 2;
private function has_good_staff_rating(): bool {
$recommended_staff_count = $this->active_users / CommunityRoom::USERS_PER_STAFF;
@ -398,7 +399,7 @@
if ($this->write && $this->has_good_staff_rating()) {
$derived_tags[] =
new CommunityTag(
"modded",
"moderated",
TagType::RESERVED_TAG,
"This Community has at least 1 staff per $USERS_PER_STAFF active users. $CHECK_MARK"
);

@ -158,7 +158,9 @@
"nsfw",
"new",
"modded",
"moderated",
"not modded",
"not moderated",
"read-only",
"uploads off",
"we're here",

Loading…
Cancel
Save