post_status_service.rb: save the status after setting local_only

master
Erin 7 years ago
parent 24f36ca912
commit c1410af368
  1. 1
      app/services/post_status_service.rb

@ -41,6 +41,7 @@ class PostStatusService < BaseService
DistributionWorker.perform_async(status.id)
status.local_only = status.marked_local_only?
status.save!
unless status.local_only
Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)

Loading…
Cancel
Save