]> cat aescling's git repositories - mastodon.git/commit
If an OStatus message contains nsfw hashtag, mark it as sensitive (#7398)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 7 May 2018 12:49:13 +0000 (14:49 +0200)
committerGitHub <noreply@github.com>
Mon, 7 May 2018 12:49:13 +0000 (14:49 +0200)
commit6208ea5a531e8ece85ec29dd42dbc051e34a29e4
tree0ff3df230fcdbfa8fa9cd96f268a985ba4bf4e9f
parent42cd363542abf0a12a4e877b3ad26024f24577ef
If an OStatus message contains nsfw hashtag, mark it as sensitive (#7398)

* If an OStatus message contains nsfw hashtag, mark it as sensitive

Undo parts of #7048

* Put nsfw hashtag on OStatus messages if they have any media

* Fix code style issues
app/lib/ostatus/activity/creation.rb
app/lib/ostatus/atom_serializer.rb