mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-31 18:25:56 +00:00
getChats returns [Chat] with 0-1 item instead of [ChatPreview] (#240)
This commit is contained in:
committed by
GitHub
parent
3b19aaf1d1
commit
e29ea99d2c
@@ -117,7 +117,7 @@ data ChatCommand
|
||||
deriving (Show)
|
||||
|
||||
data ChatResponse
|
||||
= CRApiChats {chats :: [AChatPreview]}
|
||||
= CRApiChats {chats :: [AChat]}
|
||||
| CRApiChat {chat :: AChat}
|
||||
| CRNewChatItem {chatItem :: AChatItem}
|
||||
| CRCmdAccepted {corr :: CorrId}
|
||||
|
||||
Reference in New Issue
Block a user