extend reject MRF to check if originating instance is blocked
[akkoma] / lib / pleroma / web / mastodon_api / views / media_view.ex
1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
4
5 defmodule Pleroma.Web.MastodonAPI.MediaView do
6 use Pleroma.Web, :view
7 alias Pleroma.Web.MastodonAPI
8
9 def render(view, opts), do: MastodonAPI.StatusView.render(view, opts)
10 end