From 0521afa3d828ea0dfc79e6c5c76697e2a3a270c0 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 21 Aug 2019 19:31:46 +0200 Subject: Fix specified size for encrypted file uploads --- xmpp-vala/src/module/xep/0363_http_file_upload.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp-vala/src') 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"); -- cgit v1.2.3-70-g09d2