mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-28 21:28:21 +00:00
core: discontinue old file protocol (send); use MCFile when sending and receiving files (#587)
This commit is contained in:
@@ -145,10 +145,7 @@ data ChatCommand
|
||||
| ListGroups
|
||||
| SendGroupMessageQuote {groupName :: GroupName, contactName_ :: Maybe ContactName, quotedMsg :: ByteString, message :: ByteString}
|
||||
| LastMessages (Maybe ChatName) Int
|
||||
| SendFile ContactName FilePath
|
||||
| SendFileInv ContactName FilePath
|
||||
| SendGroupFile GroupName FilePath
|
||||
| SendGroupFileInv GroupName FilePath
|
||||
| SendFile ChatName FilePath
|
||||
| ReceiveFile FileTransferId (Maybe FilePath)
|
||||
| CancelFile FileTransferId
|
||||
| FileStatus FileTransferId
|
||||
|
||||
@@ -46,9 +46,6 @@ runInputLoop ct cc = forever $ do
|
||||
isMessage = \case
|
||||
Right SendMessage {} -> True
|
||||
Right SendFile {} -> True
|
||||
Right SendFileInv {} -> True
|
||||
Right SendGroupFile {} -> True
|
||||
Right SendGroupFileInv {} -> True
|
||||
Right SendMessageQuote {} -> True
|
||||
Right SendGroupMessageQuote {} -> True
|
||||
Right SendMessageBroadcast {} -> True
|
||||
|
||||
Reference in New Issue
Block a user