api to rotate keys, option to show full links in CLI

This commit is contained in:
Evgeny @ SimpleX Chat committed 2026-07-20 15:05:27 +00:00
1 parent effea1c471
commit f58d00437c
13 files changed
+101 -45

No files matched your search

+7
View File
@@ -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}}}