diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-11-29 23:46:53 -0600 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-11-29 23:46:53 -0600 |
commit | 1ac5226b10d7cbf801cb95553707a20a412f42be (patch) | |
tree | 5b658f96b5f8228ac46a3702ecc3f0c9cd8eeb04 /app/lib/command_tag/processor.rb | |
parent | 2711b6f523807dd1b2f1f8a7d5ce71595b5b12bb (diff) |
Allow republishing monsterfork-2020-11-29
Diffstat (limited to 'app/lib/command_tag/processor.rb')
-rw-r--r-- | app/lib/command_tag/processor.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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) |