Transmogrifier: Downcase incoming Hashtags
authorlain <lain@soykaf.club>
Mon, 19 Oct 2020 13:40:50 +0000 (15:40 +0200)
committerlain <lain@soykaf.club>
Mon, 19 Oct 2020 13:40:50 +0000 (15:40 +0200)
commit39fd4d7639a0ab47bc5ae3839b10701fc301a1be
tree5a12212033827dd5526a11e03f08676026c57413
parent0495a07dc77d81abf46cbe166ae3fec14f705809
Transmogrifier: Downcase incoming Hashtags

Also, set sensitive to true if we have an nsfw hashtag present.
lib/pleroma/web/activity_pub/transmogrifier.ex
test/fixtures/mastodon-post-activity-nsfw.json [new file with mode: 0644]
test/pleroma/web/activity_pub/transmogrifier_test.exs