mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-04 03:25:14 +00:00
Fix quote cache invalidation (#37592)
This commit is contained in:
parent
8935137526
commit
81716f7e27
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class Quote < ApplicationRecord
|
|||
def accept!
|
||||
update!(state: :accepted)
|
||||
|
||||
reset_parent_cache! if attribute_changed?(:state)
|
||||
reset_parent_cache! if attribute_previously_changed?(:state)
|
||||
end
|
||||
|
||||
def reject!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue