Add dtl settings
This commit is contained in:
parent
71f4eba500
commit
0a844ccdc7
12 changed files with 77 additions and 5 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue