summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTusooa Zhu <tusooa@kazv.moe>2021-09-12 16:45:17 -0400
committerTusooa Zhu <tusooa@kazv.moe>2021-12-28 01:11:08 -0500
commite41eee5ed1c4e7001a28dababe046e28357d2ffd (patch)
tree86b7e9fb577952c38cb9e67f553cdcc8c01d1acd /lib
parent1d8abf2511317927794c0c9f5f5c2a6efdb66fed (diff)
downloadpleroma-e41eee5ed1c4e7001a28dababe046e28357d2ffd.tar.gz
pleroma-e41eee5ed1c4e7001a28dababe046e28357d2ffd.zip
Make Move activity federate properly
Ref: emit-move
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/activity_pub/activity_pub.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex
index 756096952..01dedd248 100644
--- a/lib/pleroma/web/activity_pub/activity_pub.ex
+++ b/lib/pleroma/web/activity_pub/activity_pub.ex
@@ -413,7 +413,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
"type" => "Move",
"actor" => origin.ap_id,
"object" => origin.ap_id,
- "target" => target.ap_id
+ "target" => target.ap_id,
+ "to" => [origin.follower_address]
}
with true <- origin.ap_id in target.also_known_as,