about summary refs log tree commit diff
path: root/app/workers/post_status_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/post_status_worker.rb')
-rw-r--r--app/workers/post_status_worker.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/workers/post_status_worker.rb b/app/workers/post_status_worker.rb
index 99f2c2e99..9f3fb7f63 100644
--- a/app/workers/post_status_worker.rb
+++ b/app/workers/post_status_worker.rb
@@ -15,6 +15,7 @@ class PostStatusWorker
     status.save!
 
     process_mentions_service.call(status) unless options[:nomentions]
+    Rails.cache.delete("formatted_status:#{status.id}")
 
     LinkCrawlWorker.perform_async(status.id) unless options[:nocrawl] || status.spoiler_text?
     DistributionWorker.perform_async(status.id) unless options[:distribute] == false