This commit is contained in:
Pachira 2024-02-21 00:31:25 +00:00
parent cb0c64f8ed
commit 0300bae994

View file

@ -79,7 +79,7 @@ final class SharpChatRoutes implements IRouteHandler {
if($impersonator->isSuperUser())
return true;
$whitelist = $impersonateConfig->getArray(sprintf('allow.u%s', $impersonator->getId()));
$whitelist = $this->impersonateConfig->getArray(sprintf('allow.u%s', $impersonator->getId()));
return in_array($targetId, $whitelist, true);
}