Add custom-emoji license support
This commit is contained in:
parent
ff2bcf7595
commit
34f0ad7ad5
5 changed files with 21 additions and 2 deletions
|
@ -28,4 +28,8 @@ class ActivityPub::Parser::CustomEmojiParser
|
|||
def is_sensitive # rubocop:disable Naming/PredicateName
|
||||
(@json['isSensitive'].presence || false)
|
||||
end
|
||||
|
||||
def license
|
||||
@json['license']
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue