Fix lint
This commit is contained in:
parent
97a86bc273
commit
a8e3749320
3 changed files with 6 additions and 6 deletions
|
@ -4,6 +4,8 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||
include FormattingHelper
|
||||
include NgRuleHelper
|
||||
|
||||
LINK_MEDIA_TYPES = ['application/activity+json', 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'].freeze
|
||||
|
||||
def perform
|
||||
@account.schedule_refresh_if_stale!
|
||||
|
||||
|
@ -645,8 +647,6 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
|
|||
@quote ||= quote_from_tags || @object['quote'] || @object['quoteUrl'] || @object['quoteURL'] || @object['_misskey_quote']
|
||||
end
|
||||
|
||||
LINK_MEDIA_TYPES = ['application/activity+json', 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'].freeze
|
||||
|
||||
def quote_from_tags
|
||||
return @quote_from_tags if defined?(@quote_from_tags)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue