projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add followers endpoint.
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
utils.ex
diff --git
a/lib/pleroma/web/activity_pub/utils.ex
b/lib/pleroma/web/activity_pub/utils.ex
index ed5ae021e4f026eb15119808c41d788154be8182..ef58b88d203ca483995cba0e072ef6369b078583 100644
(file)
--- a/
lib/pleroma/web/activity_pub/utils.ex
+++ b/
lib/pleroma/web/activity_pub/utils.ex
@@
-99,7
+99,7
@@
defmodule Pleroma.Web.ActivityPub.Utils do
"type" => "Like",
"actor" => ap_id,
"object" => id,
"type" => "Like",
"actor" => ap_id,
"object" => id,
- "to" => [
User.ap_followers(actor)
, object.data["actor"]],
+ "to" => [
actor.follower_address
, object.data["actor"]],
"context" => object.data["context"]
}
"context" => object.data["context"]
}
@@
-167,7
+167,7
@@
defmodule Pleroma.Web.ActivityPub.Utils do
"type" => "Announce",
"actor" => ap_id,
"object" => id,
"type" => "Announce",
"actor" => ap_id,
"object" => id,
- "to" => [
User.ap_followers(user)
, object.data["actor"]],
+ "to" => [
user.follower_address
, object.data["actor"]],
"context" => object.data["context"]
}
"context" => object.data["context"]
}