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,
|
||||
"Could not follow user: #{followed.nickname} is already on your list."}
|
||||
else
|
||||
if !followed.local do
|
||||
if !followed.local && follower.local do
|
||||
Websub.subscribe(follower, followed)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue