core: add viaGroupLink to Connection (#1248)

This commit is contained in:
JRoberts authored and GitHub committed 2022-10-24 14:28:58 +04:00
1 parent 5265667c0c
commit deeb2e891a
8 files changed
+41 -49

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ mySquaringBot _user cc = do
race_ (forever $ void getLine) . forever $ do
(_, resp) <- atomically . readTBQueue $ outputQ cc
case resp of
CRContactConnected contact _ _ -> do
CRContactConnected contact _ -> do
contactConnected contact
void . sendMsg contact $ "Hello! I am a simple squaring bot - if you send me a number, I will calculate its square"
CRNewChatItem (AChatItem _ SMDRcv (DirectChat contact) ChatItem {content}) -> do