projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0be1fa0
)
Apply suggestion to lib/pleroma/web/activity_pub/transmogrifier.ex
author
lain
<lain@soykaf.club>
Tue, 31 Mar 2020 17:00:55 +0000
(17:00 +0000)
committer
lain
<lain@soykaf.club>
Tue, 31 Mar 2020 17:00:55 +0000
(17:00 +0000)
lib/pleroma/web/activity_pub/transmogrifier.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/transmogrifier.ex
b/lib/pleroma/web/activity_pub/transmogrifier.ex
index fb41ec8e9e6dc4b85f2840994569ae83bd6ac5e3..a3529f09b11a95de45a6b4a05fa62102e8641ee6 100644
(file)
--- a/
lib/pleroma/web/activity_pub/transmogrifier.ex
+++ b/
lib/pleroma/web/activity_pub/transmogrifier.ex
@@
-1267,7
+1267,7
@@
defmodule Pleroma.Web.ActivityPub.Transmogrifier do
end
defp maybe_add_context_from_object(_) do
- {:error,
"No referenced object"
}
+ {:error,
:no_context
}
end
defp maybe_add_recipients_from_object(%{"object" => object} = data) do