Add hint in server operators buffer header

This commit is contained in:
Simon Ser 2021-11-01 18:45:16 +01:00
parent 33c3cf3278
commit 483f0c65b1
2 changed files with 4 additions and 0 deletions

View file

@ -146,6 +146,9 @@ export default function BufferHeader(props) {
if (props.user.account) {
details.push(`authenticated as ${props.user.account}`);
}
if (props.user.operator) {
details.push("server operator");
}
details = details.length > 0 ? `(${details.join(", ")})` : null;
description = html`<${NickStatus} status=${status}/> ${realname} ${details}`;