From 6d0d3647049cc3a545a9b5e3597b8815ac23d3a0 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sun, 14 Apr 2019 12:27:55 -0400 Subject: [PATCH] Add note --- src/Controllers/PostController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controllers/PostController.php b/src/Controllers/PostController.php index fae08f3..f194cbb 100644 --- a/src/Controllers/PostController.php +++ b/src/Controllers/PostController.php @@ -55,6 +55,8 @@ class PostController // TODO this assumes that every actor has a unique inbox URL // and will break if multiple actors have the same inbox // TODO also handle sharedInbox here + // A potential solution to both problems is to refactor things so that activities are posted directly to an + // inbox collection, without any conception of a "receiving actor". Lots of details to work out there though. $inboxField = $object->getReferencingField( 'inbox' ); if ( $inboxField ) { $activity = json_decode( $request->getContent(), true );