mastodon content-warning cont: only strip nsfw tag if a content warning spoiler is used. Else it's legitimately nsfw.
This commit is contained in:
parent
7b56fdebac
commit
a94a28bb7e
@ -673,7 +673,7 @@ function get_atom_elements($feed, $item) {
|
||||
// construct so the post will already be collapsed. The generated tag is almost
|
||||
// always wrong and even if it isn't we would already be doing the right thing.
|
||||
|
||||
if($mastodon && $termterm === 'nsfw')
|
||||
if($mastodon && $termterm === 'nsfw' && $summary && $res['body'])
|
||||
continue;
|
||||
|
||||
if($termterm) {
|
||||
|
Reference in New Issue
Block a user