mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 17:31:55 +00:00
api to rotate keys, option to show full links in CLI
This commit is contained in:
1 parent
effea1c471
commit
f58d00437c
13 files changed
+101
-45
No files matched your search
@@ -117,6 +117,7 @@ testOpts =
|
||||
optFilesFolder = Nothing,
|
||||
optTempDirectory = Nothing,
|
||||
showReactions = True,
|
||||
showFullLinks = True,
|
||||
allowInstantFiles = True,
|
||||
autoAcceptFileSize = 0,
|
||||
muteNotifications = True,
|
||||
@@ -168,6 +169,12 @@ testCoreOpts =
|
||||
relayTestOpts :: ChatOpts
|
||||
relayTestOpts = testOpts {coreOptions = testCoreOpts {chatRelay = True}}
|
||||
|
||||
testOptsNoFullLinks :: ChatOpts
|
||||
testOptsNoFullLinks = testOpts {showFullLinks = False}
|
||||
|
||||
relayTestOptsNoFullLinks :: ChatOpts
|
||||
relayTestOptsNoFullLinks = relayTestOpts {showFullLinks = False}
|
||||
|
||||
relayWebTestOpts :: Text -> FilePath -> Maybe FilePath -> ChatOpts
|
||||
relayWebTestOpts webDomain webDir webCorsFile = testOpts {coreOptions = testCoreOpts {chatRelay = True, webPreviewConfig = Just WebPreviewConfig {webDomain, webJsonDir = webDir, webCorsFile, webUpdateInterval = 300, webPreviewItemCount = 50}}}
|
||||
|
||||
|
||||
Reference in new issue
Block a user