Remove tautology

This commit is contained in:
FIGBERT 2023-08-08 19:59:32 -07:00
parent ab18e4c28d
commit 97154a6787
No known key found for this signature in database
GPG key ID: 67F1598D607A844B

View file

@ -17,12 +17,12 @@ import (
"maunium.net/go/gomuks/ui"
)
type HeadlessConfig struct {
type Config struct {
OutputDir, MxPassword, KeyPath, KeyPassword, RecoveryPhrase string
MxID id.UserID
}
func HeadlessInit(conf HeadlessConfig, updates chan fmt.Stringer) error {
func Init(conf Config, updates chan fmt.Stringer) error {
// setup package dir
os.Setenv("GOMUKS_ROOT", conf.OutputDir)
updates <- ExportDirSetMsg{dir: conf.OutputDir}