StatusView: implement pleroma.context field
authorHélène <pleroma-dev@helene.moe>
Sun, 7 Aug 2022 18:39:35 +0000 (20:39 +0200)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Sun, 7 Aug 2022 19:48:08 +0000 (20:48 +0100)
commitb3e4d813626608994b24224667904e7fdbf6b0be
treebc979d6d67c1b9d37e72c8b8c6901444078bcf72
parentb9bb0936001b64c3a693f6d2ac5813b655148322
StatusView: implement pleroma.context field

This field replaces the now deprecated conversation_id field, and now
exposes the ActivityPub object `context` directly via the MastoAPI
instead of relying on StatusNet-era data concepts.
lib/pleroma/web/api_spec/schemas/status.ex
lib/pleroma/web/mastodon_api/views/status_view.ex
test/pleroma/web/mastodon_api/controllers/status_controller_test.exs
test/pleroma/web/mastodon_api/views/status_view_test.exs