aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-04-27 00:38:04 +0300
committerTulir Asokan <tulir@maunium.net>2020-04-27 00:38:04 +0300
commit0e8e81a6078a98803f1012882f8c176fd3b5204e (patch)
treef33433ef6629fcca4b92c8d9b50dab4c30ec4a63 /config
parent96bb87e8ac8f45d56d487ea6c16d67f057d97e1f (diff)
Add support for decrypting messages
Diffstat (limited to 'config')
-rw-r--r--config/config.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/config.go b/config/config.go
index 3fe961e..8234edc 100644
--- a/config/config.go
+++ b/config/config.go
@@ -54,9 +54,10 @@ type UserPreferences struct {
// Config contains the main config of gomuks.
type Config struct {
- UserID id.UserID `yaml:"mxid"`
- AccessToken string `yaml:"access_token"`
- HS string `yaml:"homeserver"`
+ UserID id.UserID `yaml:"mxid"`
+ DeviceID id.DeviceID `yaml:"device_id"`
+ AccessToken string `yaml:"access_token"`
+ HS string `yaml:"homeserver"`
RoomCacheSize int `yaml:"room_cache_size"`
RoomCacheAge int64 `yaml:"room_cache_age"`