diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-28 14:33:13 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-02-28 14:33:13 +0100 |
commit | 8fada4fae25592e24f709faff41b0dedf6d5e36f (patch) | |
tree | 93f79243995ea3c01d9f1979c1b587f938ff2ed3 /app/services/post_status_service.rb | |
parent | ad5ae3f60e5e0745912bfbc0926f6cf8bc6e9eb4 (diff) |
When posting a status or reblogging one, ping hubs about the feed update
Diffstat (limited to 'app/services/post_status_service.rb')
-rw-r--r-- | app/services/post_status_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb index 17cc8e323..64519a400 100644 --- a/app/services/post_status_service.rb +++ b/app/services/post_status_service.rb @@ -7,6 +7,7 @@ class PostStatusService < BaseService def call(account, text, in_reply_to = nil) status = account.statuses.create!(text: text, thread: in_reply_to) process_mentions_service.(status) + account.ping!(atom_user_stream_url(id: account.id), HUB_URL) status end |