Commit 9ec03ab5 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Ping hubs when following somebody, too

parent 8fada4fa
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment