summaryrefslogtreecommitdiffstats
path: root/lib/Controller
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-01-15 09:35:06 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-01-15 09:35:06 -0100
commit58907143070e67ccb246b7dc4756ec47d58d9dd1 (patch)
tree8c2c922638c4cdda1a63527f69cc5991625787f1 /lib/Controller
parent6ad5dcfd12d991be6d08c315368651c5de6ae450 (diff)
add w3 @context in actor
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r--lib/Controller/ActivityPubController.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Controller/ActivityPubController.php b/lib/Controller/ActivityPubController.php
index 30f12454..e4915d45 100644
--- a/lib/Controller/ActivityPubController.php
+++ b/lib/Controller/ActivityPubController.php
@@ -122,8 +122,7 @@ class ActivityPubController extends Controller {
try {
$actor = $this->cacheActorService->getFromLocalAccount($username);
-
-// $actor->setTopLevel(true);
+ $actor->setDisplayW3ContextSecurity(true);
return $this->directSuccess($actor);
} catch (Exception $e) {