summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2021-07-13 19:30:30 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-07-13 23:12:56 +0200
commitfbe14ad58816ed90e22c1dd998cea2844f0fed38 (patch)
tree83853289e2a8ca156a2e490ba7b5380d0d3b94b6 /config.go
parentDon't send typing=done when input is already empty (diff)
Automatically join channels on start
Supporting channels with keys and merging JOINs in a single message is TODO for later. :)
Diffstat (limited to 'config.go')
-rw-r--r--config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.go b/config.go
index b744ba8..10656f4 100644
--- a/config.go
+++ b/config.go
@@ -4,8 +4,8 @@ import (
"errors"
"fmt"
"io/ioutil"
- "strings"
"strconv"
+ "strings"
"github.com/gdamore/tcell/v2"
@@ -53,6 +53,7 @@ type Config struct {
User string
Password *string
NoTLS bool `yaml:"no-tls"`
+ Channels []string
NoTypings bool `yaml:"no-typings"`
Mouse *bool