projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dda4e0e
)
Fix pinned posts relying on embded objects
author
rinpatch
<rinpatch@sdf.org>
Wed, 17 Apr 2019 09:34:19 +0000
(12:34 +0300)
committer
rinpatch
<rinpatch@sdf.org>
Wed, 17 Apr 2019 09:34:19 +0000
(12:34 +0300)
lib/pleroma/web/common_api/common_api.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/common_api/common_api.ex
b/lib/pleroma/web/common_api/common_api.ex
index 9c3daac2c994c49d323f35c60f419fce1e031024..d6eb843f7c2a10b79117e62046b59b0f8adf8d3a 100644
(file)
--- a/
lib/pleroma/web/common_api/common_api.ex
+++ b/
lib/pleroma/web/common_api/common_api.ex
@@
-217,8
+217,10
@@
defmodule Pleroma.Web.CommonAPI do
with %Activity{
actor: ^user_ap_id,
data: %{
- "type" => "Create",
- "object" => %{
+ "type" => "Create"
+ },
+ object: %Object{
+ data: %{
"to" => object_to,
"type" => "Note"
}