1
0
Fork 1
forked from fedi/mastodon

Fix missing cached preview cards attributes (#26343)

This commit is contained in:
Claire 2023-08-04 16:13:47 +02:00 committed by GitHub
parent 65096c1ccd
commit d5bee37c57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,7 +162,7 @@ class Status < ApplicationRecord
REAL_TIME_WINDOW = 6.hours
def cache_key
"v2:#{super}"
"v3:#{super}"
end
def searchable_by(preloaded = nil)