aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/bbs/handler.ex
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-09-09 21:49:02 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-09-27 10:51:15 +0700
commit98d1347a4ea1c296d2f07b9467addc56ef2dc676 (patch)
tree0e8744a5f89f101a659243d25b24d307cff47877 /lib/pleroma/bbs/handler.ex
parent219771288c0cf40f2164972e70571ff42153570a (diff)
downloadpleroma-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.ex2
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("")