Compare commits

...

1 Commits

Author SHA1 Message Date
Robin Appelman 94d57f79bd debug: add extra debug logging to lookup server user search
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-09-22 14:48:40 +02:00
@@ -61,6 +61,9 @@ class LookupPlugin implements ISearchPlugin {
);
$body = json_decode($response->getBody(), true);
$this->logger->debug('Received ' . count($body) . ' users from lookup server', [
'result' => $body,
]);
foreach ($body as $lookup) {
try {
@@ -72,6 +75,7 @@ class LookupPlugin implements ISearchPlugin {
continue;
}
if ($this->currentUserRemote === $remote) {
$this->logger->debug('Removing current user ' . $remote . ' from lookup results');
continue;
}
$name = $lookup['name']['value'] ?? '';