mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-27 16:05:14 +00:00
enable async commands (#290)
* enable async * fix async command error response Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
This commit is contained in:
@@ -122,8 +122,8 @@ responseToView cmd testView = \case
|
||||
where
|
||||
r = (plain cmd :)
|
||||
-- this function should be `r` for "synchronous", `id` for "asynchronous" command responses
|
||||
-- r' = id
|
||||
r' = r
|
||||
-- r' = r
|
||||
r' = id
|
||||
testViewChats :: [AChat] -> [StyledString]
|
||||
testViewChats chats = [sShow $ map toChatView chats]
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user