chat item status, CRChatItemUpdated api response (#269)

This commit is contained in:
Efim Poberezkin authored and GitHub committed 2022-02-07 15:19:34 +04:00
1 parent eeea33c7cb
commit f5507436f3
14 files changed
+309 -107

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ cfg =
virtualSimplexChat :: FilePath -> Profile -> IO TestCC
virtualSimplexChat dbFilePrefix profile = do
st <- createStore (dbFilePrefix <> "_chat.db") 1
st <- createStore (dbFilePrefix <> "_chat.db") 1 False
Right user <- runExceptT $ createUser st profile True
t <- withVirtualTerminal termSettings pure
ct <- newChatTerminal t
+1 -1
View File
@@ -35,7 +35,7 @@ testChatApiNoUser = withTmpFiles $ do
testChatApi :: IO ()
testChatApi = withTmpFiles $ do
let f = chatStoreFile testDBPrefix
st <- createStore f 1
st <- createStore f 1 True
Right _ <- runExceptT $ createUser st aliceProfile True
cc <- chatInit testDBPrefix
chatSendCmd cc "/u" `shouldReturn` activeUser