forked from YokaiRick/akkoma
Only kick off websubs for local users.
This commit is contained in:
parent
118c572006
commit
fca7390c69
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue