mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Accomodate for empty BOUNCER host
BOUNCER doesn't support describing UNIX domain socket connections.
This commit is contained in:
parent
071c2626d5
commit
fa80817168
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue