Removing external hub completely, fix #333 fixing digit-only hashtags,
removing web app capability from non-webapp pages
This commit is contained in:
@ -8,7 +8,6 @@ class FavouriteService < BaseService
|
||||
def call(account, status)
|
||||
favourite = Favourite.create!(account: account, status: status)
|
||||
|
||||
HubPingWorker.perform_async(account.id)
|
||||
Pubsubhubbub::DistributionWorker.perform_async(favourite.stream_entry.id)
|
||||
|
||||
if status.local?
|
||||
|
@ -20,7 +20,6 @@ class FollowService < BaseService
|
||||
|
||||
merge_into_timeline(target_account, source_account)
|
||||
|
||||
HubPingWorker.perform_async(source_account.id)
|
||||
Pubsubhubbub::DistributionWorker.perform_async(follow.stream_entry.id)
|
||||
|
||||
follow
|
||||
|
@ -16,7 +16,6 @@ class PostStatusService < BaseService
|
||||
process_hashtags_service.call(status)
|
||||
|
||||
DistributionWorker.perform_async(status.id)
|
||||
HubPingWorker.perform_async(account.id)
|
||||
Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)
|
||||
|
||||
status
|
||||
|
@ -9,7 +9,6 @@ class ReblogService < BaseService
|
||||
reblog = account.statuses.create!(reblog: reblogged_status, text: '')
|
||||
|
||||
DistributionWorker.perform_async(reblog.id)
|
||||
HubPingWorker.perform_async(account.id)
|
||||
Pubsubhubbub::DistributionWorker.perform_async(reblog.stream_entry.id)
|
||||
|
||||
if reblogged_status.local?
|
||||
|
@ -13,7 +13,6 @@ class RemoveStatusService < BaseService
|
||||
|
||||
return unless status.account.local?
|
||||
|
||||
HubPingWorker.perform_async(status.account.id)
|
||||
Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user