]> git.mxchange.org Git - friendica.git/commit
[ActivityPub] Add support for more attachments structures
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 4 Jun 2020 19:51:14 +0000 (15:51 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 7 Jun 2020 19:41:11 +0000 (15:41 -0400)
commit01e9beffc27c0d7a4f3d7a9eddda229f978809b4
tree0f6223898746e341453b7864476c2e6b421543e5
parent59bd6fd908cfd8e289c584a12e0daeb48833676c
[ActivityPub] Add support for more attachments structures

- Add support for type: Page into [attachment], type: Link using href attribute
- Ensure Receiver::process* parameter is an array
- Remove superfluous eptiness check in JsonLD::fetchElementArray
src/Protocol/ActivityPub/Processor.php
src/Protocol/ActivityPub/Receiver.php
src/Util/JsonLD.php