Only kick off websubs for local users.
This commit is contained in:
parent
118c572006
commit
fca7390c69
|
@ -104,7 +104,7 @@ def follow(%User{} = follower, %User{} = followed) do
|
||||||
{:error,
|
{:error,
|
||||||
"Could not follow user: #{followed.nickname} is already on your list."}
|
"Could not follow user: #{followed.nickname} is already on your list."}
|
||||||
else
|
else
|
||||||
if !followed.local do
|
if !followed.local && follower.local do
|
||||||
Websub.subscribe(follower, followed)
|
Websub.subscribe(follower, followed)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue