update "incompatible link" message

This commit is contained in:
Evgeny Poberezkin 2022-01-12 18:01:57 +00:00
parent 2b4bdf39fb
commit 78712541f0

View File

@ -121,10 +121,10 @@ showSentInvitation = printToView ["connection request sent!"]
showInvalidConnReq :: ChatReader m => m () showInvalidConnReq :: ChatReader m => m ()
showInvalidConnReq = showInvalidConnReq =
printToView printToView
[ "Connection link is invalid!", [ "",
"Possibly, it was created in a newer version (to check version: " <> highlight' "/v" <> ")", "Connection link is invalid, possibly it was created in a previous version.",
"To upgrade (Linux/Mac):", "Please ask your contact to check " <> highlight' "/version" <> " and update if needed.",
"curl -o- https://raw.githubusercontent.com/simplex-chat/simplex-chat/master/install.sh | bash" plain updateStr
] ]
showChatError :: ChatReader m => ChatError -> m () showChatError :: ChatReader m => ChatError -> m ()