diff options
-rw-r--r-- | app/workers/post_status_worker.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/post_status_worker.rb b/app/workers/post_status_worker.rb index 47ae94fb2..674491bb7 100644 --- a/app/workers/post_status_worker.rb +++ b/app/workers/post_status_worker.rb @@ -7,6 +7,8 @@ class PostStatusWorker status = Status.find(status_id) return false if status.destroyed? + options[:hidden] = false unless options[:hidden].blank? + status.update!(options.slice(:visibility, :local_only, :reject_replies, :hidden).compact) status.reload |