From: Eugen Rochko Date: Sun, 28 Feb 2016 13:34:25 +0000 (+0100) Subject: Ping hubs when following somebody, too X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=9ec03ab5f5647491bedf4eed8deb1d470e10b283;p=mastodon.git Ping hubs when following somebody, too --- diff --git a/app/services/follow_service.rb b/app/services/follow_service.rb index 623d52b74..bcf7f5f97 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