aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-04-28 00:58:26 +0300
committerTulir Asokan <tulir@maunium.net>2020-04-28 00:58:38 +0300
commit7d0d701c5014be43f993d34a52e122f41eedc18d (patch)
treeaeae98e87e4971af21b446d3393547a4562899f7 /config
parent0e8e81a6078a98803f1012882f8c176fd3b5204e (diff)
Add initial support for encrypting messages
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 8234edc..e9e1864 100644
--- a/config/config.go
+++ b/config/config.go
@@ -118,6 +118,7 @@ func (config *Config) DeleteSession() {
config.AuthCache.NextBatch = ""
config.AuthCache.InitialSyncDone = false
config.AccessToken = ""
+ config.DeviceID = ""
config.Rooms = rooms.NewRoomCache(config.RoomListPath, config.StateDir, config.RoomCacheSize, config.RoomCacheAge, config.GetUserID)
config.PushRules = nil