This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
3
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Ping hubs when following somebody, too
closed-social-glitch-2
Eugen Rochko
7 years ago
parent
8fada4fae2
commit
9ec03ab5f5
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/services/follow_service.rb
+ 1
- 0
app/services/follow_service.rb
View File
@ -9,6 +9,7 @@ class FollowService < BaseService
follow
=
source_account
.
follow!
(
target_account
)
send_interaction_service
.
(
follow
.
stream_entry
,
target_account
)
source_account
.
ping!
(
atom_user_stream_url
(
id
:
source_account
.
id
)
,
HUB_URL
)
end
private
Write
Preview
Loading…
Cancel
Save