projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89c5de9
)
Format
author
Francis Dinh
<normandy@firemail.cc>
Mon, 21 May 2018 01:02:06 +0000
(21:02 -0400)
committer
Francis Dinh
<normandy@firemail.cc>
Mon, 21 May 2018 01:02:06 +0000
(21:02 -0400)
lib/pleroma/web/activity_pub/utils.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/utils.ex
b/lib/pleroma/web/activity_pub/utils.ex
index acf23c53e006b9f4589acbb0801e5c54fa8dc18c..3f88a467270644b71be8cf55e3709532f0975439 100644
(file)
--- a/
lib/pleroma/web/activity_pub/utils.ex
+++ b/
lib/pleroma/web/activity_pub/utils.ex
@@
-353,6
+353,7
@@
defmodule Pleroma.Web.ActivityPub.Utils do
"to" => [followed.ap_id],
"object" => follow_activity.data
}
+
if activity_id, do: Map.put(data, "id", activity_id), else: data
end
@@
-381,6
+382,7
@@
defmodule Pleroma.Web.ActivityPub.Utils do
"to" => [blocked.ap_id],
"object" => blocked.ap_id
}
+
if activity_id, do: Map.put(data, "id", activity_id), else: data
end
@@
-391,6
+393,7
@@
defmodule Pleroma.Web.ActivityPub.Utils do
"to" => [blocked.ap_id],
"object" => block_activity.data
}
+
if activity_id, do: Map.put(data, "id", activity_id), else: data
end