mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-03 02:31:50 +00:00
fix error
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user