From 1ac5226b10d7cbf801cb95553707a20a412f42be Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sun, 29 Nov 2020 23:46:53 -0600 Subject: Allow republishing --- app/lib/command_tag/processor.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/lib') diff --git a/app/lib/command_tag/processor.rb b/app/lib/command_tag/processor.rb index 77be29eba..7b08584ce 100644 --- a/app/lib/command_tag/processor.rb +++ b/app/lib/command_tag/processor.rb @@ -239,6 +239,7 @@ class CommandTag::Processor Rails.cache.delete_matched("statuses/#{status.id}-*") Rails.cache.delete("statuses/#{status.id}") + Rails.cache.delete("statuses/*:#{@status.id}") Rails.cache.delete(status) Rails.cache.delete_matched("format:#{status.id}:*") redis.zremrangebyscore("spam_check:#{status.account.id}", status.id, status.id) -- cgit