Skip to content

Commit 5a27942

Browse files
authored
Merge pull request #51411 from nextcloud/backport/51229/stable29
[stable29] fix(lookup_server_connector): correctly handle account properties
2 parents defbdf2 + 10a87bb commit 5a27942

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
@@ -190,9 +190,13 @@ protected function getUserAccountData(IUser $user): array {
190190
$account = $this->accountManager->getAccount($user);
191191

192192
$publicData = [];
193-
foreach ($account->getProperties() as $property) {
193+
foreach ($account->getAllProperties() as $property) {
194194
if ($property->getScope() === IAccountManager::SCOPE_PUBLISHED) {
195-
$publicData[$property->getName()] = $property->getValue();
195+
$publicData[$property->getName()] = [
196+
'value' => $property->getValue(),
197+
'verified' => $property->getVerified(),
198+
'signature' => $property->getVerificationData(),
199+
];
196200
}
197201
}
198202

0 commit comments

Comments
 (0)