summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAbangTor <63029179+abangtor@users.noreply.github.com>2021-01-24 18:12:17 +0800
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-03-12 07:26:04 +0000
commit10a87bbda5b5115461b97a763656fad05b7fe402 (patch)
treeb09173656d94b611ba6722b38c226d09f93adfcd /apps
parentdefbdf26dae06242a6ed1ee6ad46804f4679e55c (diff)
downloadnextcloud-server-10a87bbda5b5115461b97a763656fad05b7fe402.tar.gz
nextcloud-server-10a87bbda5b5115461b97a763656fad05b7fe402.zip
fix(lookup_server_connector): fixed publishing of user properties to lookup-server
Fix of the bug in the lookup_server_connector module to publish public user information to the lookup-server. As described in issue [#25290](https://github.com/nextcloud/server/issues/25290) Signed-off-by: AbangTor <63029179+abangtor@users.noreply.github.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php b/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
index 7f42a91dc81..be73e71d8c0 100644
--- a/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
+++ b/apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
@@ -190,9 +190,13 @@ class RetryJob extends Job {
$account = $this->accountManager->getAccount($user);
$publicData = [];
- foreach ($account->getProperties() as $property) {
+ foreach ($account->getAllProperties() as $property) {
if ($property->getScope() === IAccountManager::SCOPE_PUBLISHED) {
- $publicData[$property->getName()] = $property->getValue();
+ $publicData[$property->getName()] = [
+ 'value' => $property->getValue(),
+ 'verified' => $property->getVerified(),
+ 'signature' => $property->getVerificationData(),
+ ];
}
}