aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-03-31 21:53:17 +0200
committerlain <lain@soykaf.club>2019-03-31 21:53:17 +0200
commit629ad1766ce5da434bf095f6baa81a460334e1b2 (patch)
treea0a304e957e04b25743dc1a157b37ab34a0e3ec7 /lib
parente3bf6655ba412268e4f5fee645609c9738e453ef (diff)
downloadpleroma-629ad1766ce5da434bf095f6baa81a460334e1b2.tar.gz
BBS: Some fixes.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/bbs/handler.ex6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pleroma/bbs/handler.ex b/lib/pleroma/bbs/handler.ex
index 7749eb3af..1ebba77d2 100644
--- a/lib/pleroma/bbs/handler.ex
+++ b/lib/pleroma/bbs/handler.ex
@@ -91,7 +91,7 @@ defmodule Pleroma.BBS.Handler do
params =
%{}
- |> Map.put("type", ["Create", "Announce"])
+ |> Map.put("type", ["Create"])
|> Map.put("blocking_user", user)
|> Map.put("muting_user", user)
|> Map.put("user", user)
@@ -100,7 +100,6 @@ defmodule Pleroma.BBS.Handler do
[user.ap_id | user.following]
|> ActivityPub.fetch_activities(params)
|> ActivityPub.contain_timeline(user)
- |> Enum.reverse()
Enum.each(activities, fn activity ->
puts_activity(activity)
@@ -109,8 +108,9 @@ defmodule Pleroma.BBS.Handler do
state
end
- def handle_command(_state, command) do
+ def handle_command(state, command) do
IO.puts("Unknown command '#{command}'")
+ state
end
defp wait_input(state, input) do