core: support files folder for mobile, delete files, chat item in CRRcvFileComplete (#530)

This commit is contained in:
JRoberts
2022-04-15 09:36:38 +04:00
committed by GitHub
parent 5281871aa6
commit e560ed8327
6 changed files with 169 additions and 22 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Simplex.Chat.Mobile where
@@ -48,7 +49,7 @@ cChatRecvMsg cc = deRefStablePtr cc >>= chatRecvMsg >>= newCAString
mobileChatOpts :: ChatOpts
mobileChatOpts =
ChatOpts
{ dbFilePrefix = "simplex_v1", -- two database files will be created: simplex_v1_chat.db and simplex_v1_agent.db
{ dbFilePrefix = undefined,
smpServers = [],
logConnections = False,
logAgent = False,