From: Roger Braun Date: Wed, 10 May 2017 16:43:14 +0000 (+0200) Subject: Only kick off websubs for local users. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=fca7390c698fc82a41eb820bc5490fb09ddc4ea2;p=akkoma Only kick off websubs for local users. --- diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 22e77c3df..7d065ae90 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -104,7 +104,7 @@ defmodule Pleroma.User 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