0
0
Fork 0

Add _:inReplyToAtomUri to ActivityPub (#4702)

This commit is contained in:
Eugen Rochko 2017-08-26 19:55:10 +02:00 committed by GitHub
parent 0397c58b61
commit 0d5d11eeff
4 changed files with 27 additions and 5 deletions

View file

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