projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118c572
)
Only kick off websubs for local users.
author
Roger Braun
<roger@rogerbraun.net>
Wed, 10 May 2017 16:43:14 +0000
(18:43 +0200)
committer
Roger Braun
<roger@rogerbraun.net>
Wed, 10 May 2017 16:43:14 +0000
(18:43 +0200)
lib/pleroma/user.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/user.ex
b/lib/pleroma/user.ex
index 22e77c3df092ad3e9c455abe0a8ee0fcaaad4bb0..7d065ae90161c378d6de30a2b0d49066de4a516c 100644
(file)
--- 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