diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-01-27 09:57:46 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2022-01-27 09:57:46 +0300 |
commit | 540c6cd546ccadbb2c32e435d1fdcb5af24a1360 (patch) | |
tree | a79c3809a6776844afcc21544518f587abed243b /config | |
parent | 6da0fd56fff386f19ae982cc02c8f0996c51e2f1 (diff) |
Unhardcode some paths
Diffstat (limited to 'config')
-rw-r--r-- | config/config.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/config.go b/config/config.go index 39fa4da..8c7cc9b 100644 --- a/config/config.go +++ b/config/config.go @@ -42,7 +42,8 @@ type TelegramContentConfig struct { // TelegramTdlibConfig is for :tdlib: subtree type TelegramTdlibConfig struct { - Client TelegramTdlibClientConfig `yaml:":client"` + Datadir string `yaml:":datadir"` + Client TelegramTdlibClientConfig `yaml:":client"` } // TelegramTdlibClientConfig is for :client: subtree |