mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Ping hubs when following somebody, too
This commit is contained in:
parent
8fada4fae2
commit
9ec03ab5f5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user