Skip to content
Snippets Groups Projects
Commit 9ec03ab5 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Ping hubs when following somebody, too

parent 8fada4fa
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment