From c1410af368911f0bbfe7205ba995c7c84dc023f6 Mon Sep 17 00:00:00 2001 From: Erin Date: Sun, 10 Dec 2017 20:35:57 -0600 Subject: [PATCH] post_status_service.rb: save the status after setting local_only --- app/services/post_status_service.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb index e531384c82..c7b5e8ffb0 100644 --- a/app/services/post_status_service.rb +++ b/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)