Add _:inReplyToAtomUri to ActivityPub (#4702)
This commit is contained in:
parent
0397c58b61
commit
0d5d11eeff
4 changed files with 27 additions and 5 deletions
|
@ -10,7 +10,7 @@ module JsonLdHelper
|
|||
end
|
||||
|
||||
def value_or_id(value)
|
||||
value.is_a?(String) ? value : value['id']
|
||||
value.is_a?(String) || value.nil? ? value : value['id']
|
||||
end
|
||||
|
||||
def supported_context?(json)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue