From 540c6cd546ccadbb2c32e435d1fdcb5af24a1360 Mon Sep 17 00:00:00 2001 From: Bohdan Horbeshko Date: Thu, 27 Jan 2022 01:57:46 -0500 Subject: Unhardcode some paths --- config/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config') 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 -- cgit v1.2.3