When posting a status or reblogging one, ping hubs about the feed update
This commit is contained in:
parent
ad5ae3f60e
commit
8fada4fae2
4 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue