core: check max file size before sending (#2224)

This commit is contained in:
spaced4ndy
2023-04-21 13:46:56 +04:00
committed by GitHub
parent a06393f520
commit 5e0d6d77b9
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -783,6 +783,7 @@ data ChatErrorType
| CEGroupCantResendInvitation {groupInfo :: GroupInfo, contactName :: ContactName}
| CEGroupInternal {message :: String}
| CEFileNotFound {message :: String}
| CEFileSize {filePath :: FilePath}
| CEFileAlreadyReceiving {message :: String}
| CEFileCancelled {message :: String}
| CEFileCancel {fileId :: FileTransferId, message :: String}