diff --git a/lib/Controller/LocalController.php b/lib/Controller/LocalController.php index f6c02b64..66d8e9a6 100644 --- a/lib/Controller/LocalController.php +++ b/lib/Controller/LocalController.php @@ -535,7 +535,9 @@ class LocalController extends Controller { $avatar = $actor->getIcon(); $document = $this->documentService->getFromCache($avatar->getId()); - return new FileDisplayResponse($document); + $response = new FileDisplayResponse($document); + $response->cacheFor(86400); + return $response; } return new NotFoundResponse(); diff --git a/lib/Db/CoreRequestBuilder.php b/lib/Db/CoreRequestBuilder.php index 72fd8450..b021a5a6 100644 --- a/lib/Db/CoreRequestBuilder.php +++ b/lib/Db/CoreRequestBuilder.php @@ -565,6 +565,7 @@ class CoreRequestBuilder { ->selectAlias('ca.public_key', 'cacheactor_public_key') ->selectAlias('ca.source', 'cacheactor_source') ->selectAlias('ca.creation', 'cacheactor_creation') + ->selectAlias('ca.local', 'cacheactor_local') ->leftJoin( $this->defaultSelectAlias, CoreRequestBuilder::TABLE_CACHE_ACTORS, 'ca', $expr->eq($pf . '.' . $fieldActorId, 'ca.id') diff --git a/src/components/ProfileInfo.vue b/src/components/ProfileInfo.vue index 6506e125..0ca1aeb1 100644 --- a/src/components/ProfileInfo.vue +++ b/src/components/ProfileInfo.vue @@ -25,21 +25,27 @@

{{ displayName }}

-

{{ accountInfo.cloudId }}

+

{{ accountInfo.account }}

Website: {{ accountInfo.website.value }}

- - +
-