projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df73a9c
)
Don't deliver to local followers.
author
lain
<lain@soykaf.club>
Sat, 24 Feb 2018 18:04:56 +0000
(19:04 +0100)
committer
lain
<lain@soykaf.club>
Sat, 24 Feb 2018 18:04:56 +0000
(19:04 +0100)
lib/pleroma/web/activity_pub/activity_pub.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/activity_pub.ex
b/lib/pleroma/web/activity_pub/activity_pub.ex
index c27ec2c6b9fc035c597be1e17c40cc3fcf6c507d..a2f8ada9c3cd906f7491a637ae7c6749b3b88e20 100644
(file)
--- a/
lib/pleroma/web/activity_pub/activity_pub.ex
+++ b/
lib/pleroma/web/activity_pub/activity_pub.ex
@@
-314,7
+314,7
@@
defmodule Pleroma.Web.ActivityPub.ActivityPub do
def publish(actor, activity) do
followers = if actor.follower_address in activity.recipients do
{:ok, followers} = User.get_followers(actor)
- followers
+ followers
|> Enum.filter(&(!&1.local))
else
[]
end