terminal: commands to mute/unmute contacts and groups (#1018)

* terminal: commands to mute/unmute contacts and groups

* tests
This commit is contained in:
Evgeny Poberezkin authored and GitHub committed 2022-09-05 15:23:38 +01:00
1 parent f512298d10
commit b232b6132f
7 files changed
+112 -38

No files matched your search

+4 -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 (User (..), LocalProfile (..))
import Simplex.Chat.Types (LocalProfile (..), User (..))
import System.Console.ANSI.Types
highlight :: Text -> Markdown
@@ -195,5 +195,7 @@ settingsInfo =
indent <> highlight "/network " <> " - show / set network access options",
indent <> highlight "/smp_servers " <> " - show / set custom SMP servers",
indent <> highlight "/info <contact> " <> " - information about contact connection",
indent <> highlight "/info #<group> <member> " <> " - information about member connection"
indent <> highlight "/info #<group> <member> " <> " - information about member connection",
indent <> highlight "/(un)mute <contact> " <> " - (un)mute contact, the last messages can be printed with /tail command",
indent <> highlight "/(un)mute #<group> " <> " - (un)mute group"
]