core: incognito connections (#926)

This commit is contained in:
JRoberts authored and GitHub committed 2022-08-18 11:35:31 +04:00
1 parent 404b7093b7
commit 5e67654249
19 files changed
+4408 -460

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@ import Data.Text (Text)
import qualified Data.Text as T
import Simplex.Chat.Markdown
import Simplex.Chat.Styled
import Simplex.Chat.Types (Profile (..), User (..))
import Simplex.Chat.Types (User (..), LocalProfile (..))
import System.Console.ANSI.Types
highlight :: Text -> Markdown
@@ -55,7 +55,7 @@ chatWelcome user =
"Type " <> highlight "/help" <> " for usage info, " <> highlight "/welcome" <> " to show this message"
]
where
User {profile = Profile {displayName, fullName}} = user
User {profile = LocalProfile {displayName, fullName}} = user
userName = if T.null fullName then displayName else fullName
chatHelpInfo :: [StyledString]