]> git.mxchange.org Git - friendica.git/commit
Separate concerns between postItem and createItem in ActivityPub\Processor
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 20 Jul 2020 04:37:43 +0000 (00:37 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 20 Jul 2020 04:37:43 +0000 (00:37 -0400)
commit259a62f9ddcc7f15ee258749bc236269c971e05a
treeb806d0c95f7e3f6482cd1194eb516a89396cdd46
parent664b7c5df20502fbcd6489d87d802d3552d99372
Separate concerns between postItem and createItem in ActivityPub\Processor

- postItem now only posts items created with createItem without altering it
- createItem  now only creates an item array from an activity without posting it
- postItem scope is now public
src/Protocol/ActivityPub/Processor.php
src/Protocol/ActivityPub/Receiver.php