diff options
Diffstat (limited to 'lib/Db/CacheActorsRequestBuilder.php')
-rw-r--r-- | lib/Db/CacheActorsRequestBuilder.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Db/CacheActorsRequestBuilder.php b/lib/Db/CacheActorsRequestBuilder.php index c4dc0783..77decaca 100644 --- a/lib/Db/CacheActorsRequestBuilder.php +++ b/lib/Db/CacheActorsRequestBuilder.php @@ -79,9 +79,8 @@ class CacheActorsRequestBuilder extends CoreRequestBuilder { /** @noinspection PhpMethodParametersCountMismatchInspection */ $qb->select( - 'ca.id', 'ca.account', 'ca.following', 'ca.followers', 'ca.inbox', - 'ca.shared_inbox', 'ca.outbox', 'ca.featured', 'ca.url', 'ca.type', - 'ca.preferred_username', 'ca.name', 'ca.summary', + 'ca.id', 'ca.account', 'ca.following', 'ca.followers', 'ca.inbox', 'ca.shared_inbox', 'ca.outbox', + 'ca.featured', 'ca.url', 'ca.type', 'ca.preferred_username', 'ca.name', 'ca.summary', 'ca.public_key', 'ca.local', 'ca.details', 'ca.source', 'ca.creation' ) ->from(self::TABLE_CACHE_ACTORS, 'ca'); @@ -154,7 +153,7 @@ class CacheActorsRequestBuilder extends CoreRequestBuilder { $this->assignViewerLink($qb, $actor); try { - $icon = $this->parseCacheDocumentsLeftJoin($data); + $icon = $qb->parseLeftJoinCacheDocuments($data); $actor->setIcon($icon); } catch (InvalidResourceException $e) { } |