Add dtl settings

This commit is contained in:
KMY 2023-09-06 17:42:58 +09:00
parent 71f4eba500
commit 0a844ccdc7
12 changed files with 77 additions and 5 deletions

View file

@ -290,6 +290,10 @@ class Status < ApplicationRecord
@reported ||= Report.where(target_account: account).unresolved.where('? = ANY(status_ids)', id).exists?
end
def dtl?
tags.where(name: 'kmyblue').exists?
end
def emojis
return @emojis if defined?(@emojis)