Make DTL switchable
This commit is contained in:
parent
65fe554773
commit
6fe51e360a
14 changed files with 46 additions and 19 deletions
|
@ -43,6 +43,7 @@ class Status < ApplicationRecord
|
|||
include RateLimitable
|
||||
include StatusSafeReblogInsert
|
||||
include StatusSearchConcern
|
||||
include DtlHelper
|
||||
|
||||
rate_limit by: :account, family: :statuses
|
||||
|
||||
|
@ -291,7 +292,7 @@ class Status < ApplicationRecord
|
|||
end
|
||||
|
||||
def dtl?
|
||||
tags.where(name: 'kmyblue').exists?
|
||||
tags.where(name: DTL_TAG).exists?
|
||||
end
|
||||
|
||||
def emojis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue