Add custom_emoji isSensitive support
This commit is contained in:
parent
156f3a7c99
commit
ff2bcf7595
8 changed files with 23 additions and 4 deletions
|
@ -24,4 +24,8 @@ class ActivityPub::Parser::CustomEmojiParser
|
|||
rescue ArgumentError
|
||||
nil
|
||||
end
|
||||
|
||||
def is_sensitive # rubocop:disable Naming/PredicateName
|
||||
(@json['isSensitive'].presence || false)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue