From 3d36896f91d6a69668bfa79c9455d511a2e3659d Mon Sep 17 00:00:00 2001 From: "Evgeny @ SimpleX Chat" <259188159+evgeny-simplex@users.noreply.github.com> Date: Wed, 1 Jul 2026 20:49:42 +0000 Subject: [PATCH] fix error --- src/Simplex/Chat/View.hs | 2 +- tests/ChatTests/Names.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Simplex/Chat/View.hs b/src/Simplex/Chat/View.hs index 818f02fd6a..8c4a9d1845 100644 --- a/src/Simplex/Chat/View.hs +++ b/src/Simplex/Chat/View.hs @@ -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] diff --git a/tests/ChatTests/Names.hs b/tests/ChatTests/Names.hs index b4677f9354..120ef307b8 100644 --- a/tests/ChatTests/Names.hs +++ b/tests/ChatTests/Names.hs @@ -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 ->