aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2022-01-27 09:57:46 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2022-01-27 09:57:46 +0300
commit540c6cd546ccadbb2c32e435d1fdcb5af24a1360 (patch)
treea79c3809a6776844afcc21544518f587abed243b /config
parent6da0fd56fff386f19ae982cc02c8f0996c51e2f1 (diff)
Unhardcode some paths
Diffstat (limited to 'config')
-rw-r--r--config/config.go3
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