From 2c154762fe979c7633745a25bedf45c0d2824378 Mon Sep 17 00:00:00 2001 From: Annie Elequin Date: Thu, 16 Sep 2021 14:21:46 -0400 Subject: [PATCH] nevermind, rename config var --- config/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index 8960978..5573972 100644 --- a/config/config.go +++ b/config/config.go @@ -67,7 +67,7 @@ type Config struct { Listen string `yaml:"listen"` } `yaml:"metrics"` - WhatsApp struct { + GroupMe struct { OSName string `yaml:"os_name"` BrowserName string `yaml:"browser_name"` } `yaml:"groupme"` @@ -80,8 +80,8 @@ type Config struct { func (config *Config) setDefaults() { config.AppService.Database.MaxOpenConns = 20 config.AppService.Database.MaxIdleConns = 2 - config.WhatsApp.OSName = "Mautrix-GroupMe bridge" - config.WhatsApp.BrowserName = "mx-gm" + config.GroupMe.OSName = "Mautrix-GroupMe bridge" + config.GroupMe.BrowserName = "mx-gm" config.Bridge.setDefaults() }