Supply super user status in auth data.

This commit is contained in:
flash 2023-11-07 14:38:53 +00:00
parent 19fbe59ddd
commit 8f56174637
1 changed files with 1 additions and 0 deletions

View File

@ -236,6 +236,7 @@ final class SharpChatRoutes implements IRouteHandler {
'rank' => $userRank,
'hierarchy' => $userRank,
'perms' => $chatPerms->getCalculated(),
'super' => $userInfo->isSuperUser(),
];
}