Add: _misskey_licenseの送受信 (#968)

This commit is contained in:
KMY(雪あすか) 2025-01-23 18:50:38 +09:00 committed by GitHub
parent 9c14810881
commit c139f8947e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 110 additions and 3 deletions

View file

@ -34,6 +34,6 @@ class ActivityPub::Parser::CustomEmojiParser
end
def license
@json['license'] || @json['licence']
@json.dig('_misskey_license', 'freeText') || @json['license'] || @json['licence']
end
end