Supply super user status in auth data.

This commit is contained in:
Pachira 2023-11-07 14:38:53 +00:00
parent 19fbe59ddd
commit 8f56174637

View file

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