about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/workers/post_status_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/post_status_worker.rb b/app/workers/post_status_worker.rb
index 68cae75fa..47ae94fb2 100644
--- a/app/workers/post_status_worker.rb
+++ b/app/workers/post_status_worker.rb
@@ -7,7 +7,7 @@ class PostStatusWorker
     status = Status.find(status_id)
     return false if status.destroyed?
 
-    status.update(options.slice(:visibility, :local_only, :reject_replies, :hidden).compact)
+    status.update!(options.slice(:visibility, :local_only, :reject_replies, :hidden).compact)
     status.reload
 
     process_mentions_service.call(status, skip_process: options[:process_mentions] != true) unless options[:nomentions] || status.hidden