Commit fca7390c authored by lain's avatar lain

Only kick off websubs for local users.

parent 118c5720
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment