summaryrefslogtreecommitdiffstats
path: root/lib/Controller
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-09-26 12:32:49 +0200
committerGitHub <noreply@github.com>2019-09-26 12:32:49 +0200
commite0e26d9a4971406c9e68c94a8c7800a31dc73fcd (patch)
tree2b3ecee914b7b76a21e62686a36728dbc1a038f3 /lib/Controller
parentf5c43764858b484ad6b91b7575c7bfcb5d568bab (diff)
parent2f7683a0aed54b45d304c324314bf36ad1f6916a (diff)
Merge pull request #746 from nextcloud/bugfix/745/social-address-on-local-account
check social address during local actor
Diffstat (limited to 'lib/Controller')
-rw-r--r--lib/Controller/SocialPubController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/SocialPubController.php b/lib/Controller/SocialPubController.php
index 6194a209..d83fd3b2 100644
--- a/lib/Controller/SocialPubController.php
+++ b/lib/Controller/SocialPubController.php
@@ -125,7 +125,7 @@ class SocialPubController extends Controller {
$status = Http::STATUS_OK;
try {
- $actor = $this->cacheActorService->getFromLocalAccount($username);
+ $actor = $this->cacheActorService->getFromAccount($username);
$displayName = $actor->getName() !== '' ? $actor->getName() : $actor->getPreferredUsername();
$data['application'] = $displayName . ' - ' . $data['application'];
} catch (CacheActorDoesNotExistException $e) {