cli: option to auto-accept files (#2540)

* cli: option to auto-accept files

* auto-accept works

* test

* add missing field
This commit is contained in:
Evgeny Poberezkin
2023-06-16 13:43:06 +01:00
committed by GitHub
parent c29c3179a0
commit 46c6f5e615
6 changed files with 60 additions and 9 deletions
+1
View File
@@ -103,6 +103,7 @@ data ChatConfig = ChatConfig
fileChunkSize :: Integer,
xftpDescrPartSize :: Int,
inlineFiles :: InlineFilesConfig,
autoAcceptFileSize :: Integer,
xftpFileConfig :: Maybe XFTPFileConfig, -- Nothing - XFTP is disabled
tempDir :: Maybe FilePath,
showReactions :: Bool,