diff options
author | Tulir Asokan <tulir@maunium.net> | 2020-04-28 22:00:37 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2020-04-28 22:00:37 +0300 |
commit | fa04323daffb8bf783ba438065a5ce47b2994bea (patch) | |
tree | e1976c16a0bd40e3f3db895cc1d848ea3be97b1a /gomuks.go | |
parent | 92d4279b216987ebdfbea4577965ffb192e7726a (diff) |
Update mautrix-go and move crypto store to XDG_DATA_HOME
Diffstat (limited to 'gomuks.go')
-rw-r--r-- | gomuks.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -38,12 +38,12 @@ type Gomuks struct { // NewGomuks creates a new Gomuks instance with everything initialized, // but does not start it. -func NewGomuks(uiProvider ifc.UIProvider, configDir, cacheDir, downloadDir string) *Gomuks { +func NewGomuks(uiProvider ifc.UIProvider, configDir, dataDir, cacheDir, downloadDir string) *Gomuks { gmx := &Gomuks{ stop: make(chan bool, 1), } - gmx.config = config.NewConfig(configDir, cacheDir, downloadDir) + gmx.config = config.NewConfig(configDir, dataDir, cacheDir, downloadDir) gmx.ui = uiProvider(gmx) gmx.matrix = matrix.NewContainer(gmx) |