diff --git a/app/models/status.rb b/app/models/status.rb index b259d063..ce467daf 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -539,6 +539,5 @@ class Status < ApplicationRecord def increase_group_unread_counts GroupAccount.where(group_id: group_id).where.not(account_id: account_id).update_all("unread_count = unread_count + 1") - Rails.cache.delete("relationship:#{account_id}:group#{group_id}") end end