fix compilation, todos

This commit is contained in:
spaced4ndy committed 2025-02-28 12:13:13 +04:00
1 parent ce6f2acbdc
commit 87dfce75f7
5 files changed
+24 -19

No files matched your search

+2 -2
View File
@@ -20,7 +20,7 @@ import qualified Data.ByteString.Char8 as B
import Data.List (intercalate, isInfixOf)
import qualified Data.Map.Strict as M
import qualified Data.Text as T
import Simplex.Chat.Controller (ChatConfig (..))
import Simplex.Chat.Controller (ChatConfig (..), ChatHooks (..), defaultChatHooks)
import Simplex.Chat.Library.Internal (uniqueMsgMentions, updatedMentionNames)
import Simplex.Chat.Markdown (parseMaybeMarkdownList)
import Simplex.Chat.Messages (CIMention (..), CIMentionMember (..), ChatItemId)
@@ -2901,7 +2901,7 @@ testGroupLinkRejectBlockedName =
bob <## "group link: known group #team"
bob <## "use #team <message> to send messages"
where
cfg = testCfg {allowedProfileName = Just (const False)}
cfg = testCfg {chatHooks = defaultChatHooks {acceptMember = Just (\_ _ _ -> pure $ Left GRRBlockedName)}}
testPlanGroupLinkKnown :: HasCallStack => TestParams -> IO ()
testPlanGroupLinkKnown =