]> cat aescling's git repositories - mastodon.git/commit
Do not mark remote status sensitive even if spoiler text is present (#7395)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Mon, 4 Jun 2018 02:46:14 +0000 (11:46 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 4 Jun 2018 02:46:14 +0000 (04:46 +0200)
commit5bf500338478f819a65d25636a0af61a482972d3
treecff251ac9bda163d9021b1b3bf5876da453148c7
parent73923ea6c4759e551d92d3e712bc3bb6d1ad3e60
Do not mark remote status sensitive even if spoiler text is present (#7395)

Old statuses and statuses from Pawoo, which runs a modified version of
Mastodon, may not have been marked sensitive even if spoiler text is
present.

Such statuses are still not marked sensitve if they are local or
arrived before version upgrade. Marking recently fetched remote status
sensitive contradicts the behavior.

Considering what people expected when they authored such statuses, this
change removes the sensitivity enforcement.
app/models/status.rb
app/services/post_status_service.rb