projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e3bf665
)
BBS: Some fixes.
author
lain
<lain@soykaf.club>
Sun, 31 Mar 2019 19:53:17 +0000
(21:53 +0200)
committer
lain
<lain@soykaf.club>
Sun, 31 Mar 2019 19:53:17 +0000
(21:53 +0200)
lib/pleroma/bbs/handler.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/bbs/handler.ex
b/lib/pleroma/bbs/handler.ex
index 7749eb3af04eaed804e4545bbefcbaefabfe0293..1ebba77d26dedcff578959c03546a08772b77d79 100644
(file)
--- a/
lib/pleroma/bbs/handler.ex
+++ b/
lib/pleroma/bbs/handler.ex
@@
-91,7
+91,7
@@
defmodule Pleroma.BBS.Handler do
params =
%{}
params =
%{}
- |> Map.put("type", ["Create"
, "Announce"
])
+ |> Map.put("type", ["Create"])
|> Map.put("blocking_user", user)
|> Map.put("muting_user", user)
|> Map.put("user", user)
|> 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)
[user.ap_id | user.following]
|> ActivityPub.fetch_activities(params)
|> ActivityPub.contain_timeline(user)
- |> Enum.reverse()
Enum.each(activities, fn activity ->
puts_activity(activity)
Enum.each(activities, fn activity ->
puts_activity(activity)
@@
-109,8
+108,9
@@
defmodule Pleroma.BBS.Handler do
state
end
state
end
- def handle_command(
_
state, command) do
+ def handle_command(state, command) do
IO.puts("Unknown command '#{command}'")
IO.puts("Unknown command '#{command}'")
+ state
end
defp wait_input(state, input) do
end
defp wait_input(state, input) do