mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-25 12:02:13 +00:00
getGroupChat, getGroupChatPreviews_ (#233)
This commit is contained in:
@@ -127,7 +127,7 @@ processChatCommand user@User {userId, profile} = \case
|
||||
APIGetChats -> CRApiChats <$> withStore (`getChatPreviews` user)
|
||||
APIGetChat cType cId -> case cType of
|
||||
CTDirect -> CRApiDirectChat <$> withStore (\st -> getDirectChat st user cId)
|
||||
CTGroup -> pure $ CRChatError ChatErrorNotImplemented
|
||||
CTGroup -> CRApiGroupChat <$> withStore (\st -> getGroupChat st user cId)
|
||||
APIGetChatItems _count -> pure $ CRChatError ChatErrorNotImplemented
|
||||
ChatHelp section -> pure $ CRChatHelp section
|
||||
Welcome -> pure $ CRWelcome user
|
||||
|
||||
Reference in New Issue
Block a user