Skip to content

Commit 10a87bb

Browse files
abangtorbackportbot[bot]
authored andcommitted
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 <63029179+abangtor@users.noreply.github.com>
1 parent defbdf2 commit 10a87bb

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)