Reconnect when loosing connection

This commit is contained in:
Simon Ser 2021-01-11 18:12:28 +01:00
parent 57ca2c44ad
commit 4b165054a4
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 19 additions and 6 deletions

View file

@ -27,6 +27,7 @@ export default function BufferHeader(props) {
var description = null;
if (props.buffer.serverInfo) {
// TODO: print current connection status
var serverInfo = props.buffer.serverInfo;
description = `Connected to ${serverInfo.name}`;
} else if (props.buffer.topic) {