mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
components/buffer-header: mark unauthenticated users as such
This commit is contained in:
parent
6acf6d544a
commit
eec4126562
1 changed files with 4 additions and 0 deletions
|
@ -149,6 +149,10 @@ export default function BufferHeader(props) {
|
||||||
} else {
|
} else {
|
||||||
details.push(`authenticated as ${props.user.account}`);
|
details.push(`authenticated as ${props.user.account}`);
|
||||||
}
|
}
|
||||||
|
} else if (props.server.isupport.has("MONITOR") && props.server.isupport.has("WHOX")) {
|
||||||
|
// If the server supports MONITOR and WHOX, we can faithfully
|
||||||
|
// keep user.account up-to-date for user queries
|
||||||
|
details.push("unauthenticated");
|
||||||
}
|
}
|
||||||
if (props.user.operator) {
|
if (props.user.operator) {
|
||||||
details.push("server operator");
|
details.push("server operator");
|
||||||
|
|
Loading…
Reference in a new issue