Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
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](#25290)

Signed-off-by: AbangTor <[email protected]>
  • Loading branch information
abangtor authored and backportbot[bot] committed Mar 4, 2025
commit da6736b503439b891a067b60e76cd6b0ef6697b3
8 changes: 6 additions & 2 deletions apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,13 @@ protected function getUserAccountData(IUser $user): array {
$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(),
];
}
}

Expand Down
Loading