aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2019-04-06 10:57:24 +0300
committerTulir Asokan <tulir@maunium.net>2019-04-06 10:57:24 +0300
commit8c1682b225300d055fba72106f07a0fc1fa7dfc5 (patch)
tree0266f572a59c18c0469694a8b63daa12540ca433 /config
parent7ad2103f8f2c9b7e3d12554634a68db973a05b36 (diff)
Use XDG config and cache home
Diffstat (limited to 'config')
-rw-r--r--config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
index a3127c4..f77275f 100644
--- a/config/config.go
+++ b/config/config.go
@@ -98,6 +98,7 @@ func (config *Config) CreateCacheDirs() {
func (config *Config) DeleteSession() {
config.AuthCache.NextBatch = ""
config.AuthCache.InitialSyncDone = false
+ config.AccessToken = ""
config.Rooms = make(map[string]*rooms.Room)
config.PushRules = nil