core: discontinue old file protocol (send); use MCFile when sending and receiving files (#587)

This commit is contained in:
JRoberts
2022-04-30 19:18:46 +04:00
committed by GitHub
parent 305052ecaf
commit dd592c7db3
4 changed files with 8 additions and 215 deletions
+1 -4
View File
@@ -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