diff options
author | fiaxh <git@lightrise.org> | 2019-08-21 19:31:46 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2019-08-21 22:37:52 +0200 |
commit | 0521afa3d828ea0dfc79e6c5c76697e2a3a270c0 (patch) | |
tree | b7d64f2b2e13d01c81621962816d90e8b8e279ca /xmpp-vala/src | |
parent | 3ad2891eb80d9381fed8547d6429904120af1f3e (diff) | |
download | dino-0521afa3d828ea0dfc79e6c5c76697e2a3a270c0.tar.gz dino-0521afa3d828ea0dfc79e6c5c76697e2a3a270c0.zip |
Fix specified size for encrypted file uploads
Diffstat (limited to 'xmpp-vala/src')
-rw-r--r-- | xmpp-vala/src/module/xep/0363_http_file_upload.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/module/xep/0363_http_file_upload.vala b/xmpp-vala/src/module/xep/0363_http_file_upload.vala index eefe05eb..822ddc6b 100644 --- a/xmpp-vala/src/module/xep/0363_http_file_upload.vala +++ b/xmpp-vala/src/module/xep/0363_http_file_upload.vala @@ -22,7 +22,7 @@ public class Module : XmppStreamModule { public string url_get { get; set; } public string url_put { get; set; } } - public async SlotResult request_slot(XmppStream stream, string filename, int file_size, string? content_type) throws HttpFileTransferError { + public async SlotResult request_slot(XmppStream stream, string filename, int64 file_size, string? content_type) throws HttpFileTransferError { Flag? flag = stream.get_flag(Flag.IDENTITY); if (flag == null) { throw new HttpFileTransferError.SLOT_REQUEST("No flag"); |