aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gomuks.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/gomuks.go b/gomuks.go
index 6582ee3..ae007e0 100644
--- a/gomuks.go
+++ b/gomuks.go
@@ -49,11 +49,12 @@ func NewGomuks(uiProvider ifc.UIProvider) *Gomuks {
gmx.config = config.NewConfig(configDir, cacheDir)
gmx.ui = uiProvider(gmx)
gmx.matrix = matrix.NewContainer(gmx)
+
+ gmx.config.Load()
gmx.ui.Init()
debug.OnRecover = gmx.ui.Finish
- gmx.config.Load()
if len(gmx.config.UserID) > 0 {
_ = gmx.config.LoadSession(gmx.config.UserID)
}