diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2019-09-09 21:49:02 +0700 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2019-09-27 10:51:15 +0700 |
commit | 98d1347a4ea1c296d2f07b9467addc56ef2dc676 (patch) | |
tree | 0e8744a5f89f101a659243d25b24d307cff47877 /lib/pleroma/bbs/handler.ex | |
parent | 219771288c0cf40f2164972e70571ff42153570a (diff) | |
download | pleroma-98d1347a4ea1c296d2f07b9467addc56ef2dc676.tar.gz |
Extract status actions from `MastodonAPIController` into `StatusController`
Diffstat (limited to 'lib/pleroma/bbs/handler.ex')
-rw-r--r-- | lib/pleroma/bbs/handler.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/bbs/handler.ex b/lib/pleroma/bbs/handler.ex index 0a381f592..fa838a4e4 100644 --- a/lib/pleroma/bbs/handler.ex +++ b/lib/pleroma/bbs/handler.ex @@ -42,7 +42,7 @@ defmodule Pleroma.BBS.Handler do end def puts_activity(activity) do - status = Pleroma.Web.MastodonAPI.StatusView.render("status.json", %{activity: activity}) + status = Pleroma.Web.MastodonAPI.StatusView.render("show.json", %{activity: activity}) IO.puts("-- #{status.id} by #{status.account.display_name} (#{status.account.acct})") IO.puts(HtmlSanitizeEx.strip_tags(status.content)) IO.puts("") |