diff options
author | ConfuSomu | 2023-07-15 15:52:49 +0200 |
---|---|---|
committer | ConfuSomu | 2023-07-15 15:52:49 +0200 |
commit | e322946df7c33f76dbee46ec5b8e2118fbae8a26 (patch) | |
tree | 9a0fb14e794743c6baa87dcb61a694b5166141bc /src/templates/apactivity.html | |
parent | 0e84cb6c13b8b47ed0d05b21f14490bf6c4744f2 (diff) | |
download | ActorViewer-e322946df7c33f76dbee46ec5b8e2118fbae8a26.tar ActorViewer-e322946df7c33f76dbee46ec5b8e2118fbae8a26.tar.gz ActorViewer-e322946df7c33f76dbee46ec5b8e2118fbae8a26.zip |
Account for "@context" in outbox.json being array
"@context" in the outbox.json file is not always a string and sometimes
might be an array with multiple elements. This patch implements a
json_check_item method which checks for the
existence of "https://www.w3.org/ns/activitystreams" in both cases.
Diffstat (limited to 'src/templates/apactivity.html')
0 files changed, 0 insertions, 0 deletions