Add custom-emoji license support

This commit is contained in:
KMY 2023-05-22 18:40:06 +09:00
parent ff2bcf7595
commit 34f0ad7ad5
5 changed files with 21 additions and 2 deletions

View file

@ -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