fix error

This commit is contained in:
Evgeny @ SimpleX Chat
2026-07-01 20:49:42 +00:00
parent 37f1d2b146
commit 3d36896f91
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2683,7 +2683,7 @@ viewChatError isCmd logLevel testView = \case
CEInvalidConnReq -> viewInvalidConnReq
CESimplexName ni nameErr ->
let reason = case nameErr of
SNENoValidLink -> "has no usable connection link"
SNENoValidLink -> "has no valid connection link"
SNEUnknownName -> "is not included in the connection link's profile"
in ["SimpleX name " <> plain (shortNameInfoStr ni) <> " " <> reason]
CEUnsupportedConnReq -> [ "", "Connection link is not supported by the your app version, please ugrade it.", plain updateStr]
+1 -1
View File
@@ -110,7 +110,7 @@ testSetNameNotOwnAddress ps = withSmpServerAndNames $ \reg ->
alice ##> "/ad"
_ <- getContactLinks alice True
alice ##> "/_set_name 1 @alice.simplex"
alice <## "bad chat command: name does not point to your address"
alice <## "SimpleX name @alice.simplex has no valid connection link"
testConnectByChannelName :: HasCallStack => TestParams -> IO ()
testConnectByChannelName ps = withSmpServerAndNames $ \reg ->