diff --git a/src/Object/Api/Mastodon/Status.php b/src/Object/Api/Mastodon/Status.php index b0832f0c3..8ba99ebfa 100644 --- a/src/Object/Api/Mastodon/Status.php +++ b/src/Object/Api/Mastodon/Status.php @@ -109,7 +109,7 @@ class Status extends BaseDataTransferObject } $this->sensitive = $sensitive; - $this->spoiler_text = ($item['title'] ?: $item['content-warning']) ?: ''; + $this->spoiler_text = $item['title'] ?: $item['content-warning'] ?: ''; $visibility = ['public', 'private', 'unlisted']; $this->visibility = $visibility[$item['private']];