From cc28c7b65f9aa53a6bb1f0162f6124e1ad5edac2 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 22 May 2018 17:24:47 +0300 Subject: Gofmt --- config/config.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/config.go b/config/config.go index 41cff41..a81b936 100644 --- a/config/config.go +++ b/config/config.go @@ -21,13 +21,13 @@ import ( "os" "path/filepath" + "encoding/json" "gopkg.in/yaml.v2" + "maunium.net/go/gomatrix" "maunium.net/go/gomuks/debug" - "maunium.net/go/gomuks/matrix/rooms" "maunium.net/go/gomuks/matrix/pushrules" - "encoding/json" + "maunium.net/go/gomuks/matrix/rooms" "strings" - "maunium.net/go/gomatrix" ) // Config contains the main config of gomuks. @@ -261,7 +261,7 @@ func (config *Config) SaveRooms() { if config.nosave { return } - + os.MkdirAll(config.StateDir, 0700) for _, room := range config.Rooms { path := config.getRoomCachePath(room) -- cgit v1.2.3