projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3106c6
)
Fix incompatible types warning (Elixir 1.11)
author
Mark Felder
<feld@FreeBSD.org>
Wed, 7 Oct 2020 15:04:25 +0000
(10:04 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Wed, 7 Oct 2020 15:04:25 +0000
(10:04 -0500)
lib/pleroma/web/activity_pub/activity_pub_controller.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/activity_pub_controller.ex
b/lib/pleroma/web/activity_pub/activity_pub_controller.ex
index 732c442710bb62bb29549bdfbd3bb13a146c6d87..8916aba5fbda726d6812b0d9e7ae3a1a091c8eef 100644
(file)
--- a/
lib/pleroma/web/activity_pub/activity_pub_controller.ex
+++ b/
lib/pleroma/web/activity_pub/activity_pub_controller.ex
@@
-412,7
+412,7
@@
defmodule Pleroma.Web.ActivityPub.ActivityPubController do
object =
object
|> Map.merge(Map.take(params, ["to", "cc"]))
- |> Map.put("attributedTo", user.ap_id
()
)
+ |> Map.put("attributedTo", user.ap_id)
|> Transmogrifier.fix_object()
ActivityPub.create(%{
@@
-456,7
+456,7
@@
defmodule Pleroma.Web.ActivityPub.ActivityPubController do
%{assigns: %{user: %User{nickname: nickname} = user}} = conn,
%{"nickname" => nickname} = params
) do
- actor = user.ap_id
()
+ actor = user.ap_id
params =
params