1
0
Fork 0
forked from Mirrors/gomuks

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