mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-13 07:48:37 +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...";
|
description = "Bouncer connecting to network...";
|
||||||
break;
|
break;
|
||||||
case "connected":
|
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;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user