commit: 9ec03ab5f5647491bedf4eed8deb1d470e10b283
parent: 8fada4fae25592e24f709faff41b0dedf6d5e36f
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Sun, 28 Feb 2016 14:34:25 +0100
Ping hubs when following somebody, too
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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