Daniel García
2 years ago
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
1 changed files with
1 additions and
1 deletions
-
src/api/core/ciphers.rs
|
|
@ -987,7 +987,7 @@ async fn post_attachment_v2( |
|
|
|
} |
|
|
|
|
|
|
|
let data: AttachmentRequestData = data.into_inner().data; |
|
|
|
if !data.FileSize < 0 { |
|
|
|
if data.FileSize < 0 { |
|
|
|
err!("Attachment size can't be negative") |
|
|
|
} |
|
|
|
let attachment_id = crypto::generate_attachment_id(); |
|
|
|