|
|
|
@ -475,7 +475,7 @@
|
|
|
|
|
// Description not included due to false positives.
|
|
|
|
|
$blob =
|
|
|
|
|
strtolower($this->name) . " " .
|
|
|
|
|
strtolower(join(" ", $this->tags));
|
|
|
|
|
strtolower(join(" ", $this->string_tags));
|
|
|
|
|
|
|
|
|
|
foreach (CommunityTag::NSFW_KEYWORDS as $keyword) {
|
|
|
|
|
if (str_contains($blob, $keyword)) {
|
|
|
|
@ -501,7 +501,7 @@
|
|
|
|
|
|
|
|
|
|
public function is_testing_room(): bool {
|
|
|
|
|
global $TESTING_INCLUDE;
|
|
|
|
|
return in_array("test", $this->tags) || $this->matched_by_list($TESTING_INCLUDE);
|
|
|
|
|
return in_array("test", $this->string_tags) || $this->matched_by_list($TESTING_INCLUDE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|