Add sign? methods to the Quote and CollectionItem models (#39047)
This commit is contained in:
parent
fba4775ef6
commit
a2064d4c7f
@ -64,6 +64,10 @@ class CollectionItem < ApplicationRecord
|
||||
:featured_item
|
||||
end
|
||||
|
||||
def sign?
|
||||
true
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def set_position
|
||||
|
||||
@ -79,6 +79,10 @@ class Quote < ApplicationRecord
|
||||
ActivityPub::QuoteRefreshWorker.perform_in(rand(REFRESH_DEADLINE), id)
|
||||
end
|
||||
|
||||
def sign?
|
||||
true
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def reset_parent_cache!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user