From: Erin Date: Mon, 11 Dec 2017 02:35:57 +0000 (-0600) Subject: post_status_service.rb: save the status after setting local_only X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=c1410af368911f0bbfe7205ba995c7c84dc023f6;p=mastodon.git post_status_service.rb: save the status after setting local_only --- diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb index e531384c8..c7b5e8ffb 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)