mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-13 07:48:37 +01:00
components/buffer-header: mark unauthenticated users as such
This commit is contained in:
parent
6acf6d544a
commit
eec4126562
@ -149,6 +149,10 @@ export default function BufferHeader(props) {
|
||||
} else {
|
||||
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) {
|
||||
details.push("server operator");
|
||||
|
Loading…
x
Reference in New Issue
Block a user