diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-28 14:34:25 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-28 14:34:25 +0100 |
commit | 9ec03ab5f5647491bedf4eed8deb1d470e10b283 (patch) | |
tree | d2899500c0ea45a95daeed52b01950609328adb3 | |
parent | 8fada4fae25592e24f709faff41b0dedf6d5e36f (diff) |
Ping hubs when following somebody, too
-rw-r--r-- | app/services/follow_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |