mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-12 23:43:42 +01:00
Accomodate for empty BOUNCER host
BOUNCER doesn't support describing UNIX domain socket connections.
This commit is contained in:
parent
071c2626d5
commit
fa80817168
@ -59,7 +59,8 @@ export default function BufferHeader(props) {
|
||||
description = "Bouncer connecting to network...";
|
||||
break;
|
||||
case "connected":
|
||||
description = `Connected to ${props.bouncerNetwork.host}`;
|
||||
// host can be undefined e.g. when using UNIX domain sockets
|
||||
description = `Connected to ${props.bouncerNetwork.host || "network"}`;
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user