Skip to content

Commit 5305e6a

Browse files
authored
Merge pull request #51229 from nextcloud/fix/lookup-server
fix(lookup_server_connector): correctly handle account properties
2 parents 2ef04bf + f44576b commit 5305e6a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,13 @@ protected function getUserAccountData(IUser $user): array {
158158
$account = $this->accountManager->getAccount($user);
159159

160160
$publicData = [];
161-
foreach ($account->getProperties() as $property) {
161+
foreach ($account->getAllProperties() as $property) {
162162
if ($property->getScope() === IAccountManager::SCOPE_PUBLISHED) {
163-
$publicData[$property->getName()] = $property->getValue();
163+
$publicData[$property->getName()] = [
164+
'value' => $property->getValue(),
165+
'verified' => $property->getVerified(),
166+
'signature' => $property->getVerificationData(),
167+
];
164168
}
165169
}
166170

0 commit comments

Comments
 (0)