From 9ec03ab5f5647491bedf4eed8deb1d470e10b283 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 28 Feb 2016 14:34:25 +0100 Subject: [PATCH] Ping hubs when following somebody, too --- app/services/follow_service.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/services/follow_service.rb b/app/services/follow_service.rb index 623d52b74bf..bcf7f5f97ba 100644 --- a/app/services/follow_service.rb +++ b/app/services/follow_service.rb @@ -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