Add ability to set a default post expiry (#321)
[akkoma] / lib / pleroma / web / mastodon_api / views / timeline_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.TimelineView 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