Issue 11315: Fix for all receivers in "to"

This commit is contained in:
Michael 2022-03-11 20:39:03 +00:00
parent 1b74ead75c
commit 5eb647585d
3 changed files with 8 additions and 7 deletions

View file

@ -1408,7 +1408,7 @@ class Transmitter
*/
private static function isSensitive($uri_id)
{
return DBA::exists('tag-view', ['uri-id' => $uri_id, 'name' => 'nsfw']);
return DBA::exists('tag-view', ['uri-id' => $uri_id, 'name' => 'nsfw', 'type' => Tag::HASHTAG]);
}
/**