mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-26 17:27:57 +00:00
core: set files folder without user (to allow archive import) (#748)
This commit is contained in:
committed by
GitHub
parent
8d93f228b3
commit
4d9e446489
@@ -207,7 +207,7 @@ processChatCommand = \case
|
||||
pure CRChatStopped
|
||||
APISetAppPhase phase -> withAgent (`setAgentPhase` phase) $> CRCmdOk
|
||||
ResubscribeAllConnections -> withUser (subscribeUserConnections resubscribeConnection) $> CRCmdOk
|
||||
SetFilesFolder filesFolder' -> withUser $ \_ -> do
|
||||
SetFilesFolder filesFolder' -> do
|
||||
createDirectoryIfMissing True filesFolder'
|
||||
ff <- asks filesFolder
|
||||
atomically . writeTVar ff $ Just filesFolder'
|
||||
|
||||
Reference in New Issue
Block a user