diff --git a/src/Simplex/Chat.hs b/src/Simplex/Chat.hs index 9c62d0338..abefac6d6 100644 --- a/src/Simplex/Chat.hs +++ b/src/Simplex/Chat.hs @@ -1657,7 +1657,7 @@ processChatCommand = \case case memberConn m of Just mConn -> do let msg = XGrpDirectInv cReq msgContent_ - (sndMsg, _) <- sendDirectMessage mConn msg (GroupId $ groupId (g :: GroupInfo)) + (sndMsg, _) <- sendDirectMessage mConn msg (GroupId $ g.groupId) withStore' $ \db -> setContactGrpInvSent db ct True let ct' = ct {contactGrpInvSent = True} forM_ msgContent_ $ \mc -> do