aboutsummaryrefslogtreecommitdiff
path: root/plugins/http-files/src/manager.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-01-28 23:26:37 +0100
committerfiaxh <git@mx.ax.lt>2018-01-28 23:26:37 +0100
commit8c46c423c09d2a2bb50f086414d2fb373b3a64c9 (patch)
treec0b63f3889ac1e05172dac9229be037817b1af50 /plugins/http-files/src/manager.vala
parent78de584ad08ce06b3b8bc966ef8ada59c660a6b4 (diff)
downloaddino-8c46c423c09d2a2bb50f086414d2fb373b3a64c9.tar.gz
dino-8c46c423c09d2a2bb50f086414d2fb373b3a64c9.zip
http-files: Report correct file size for encrypted files (slot request)
Diffstat (limited to 'plugins/http-files/src/manager.vala')
-rw-r--r--plugins/http-files/src/manager.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/http-files/src/manager.vala b/plugins/http-files/src/manager.vala
index c27babe2..7335b89a 100644
--- a/plugins/http-files/src/manager.vala
+++ b/plugins/http-files/src/manager.vala
@@ -32,7 +32,7 @@ public class Manager : StreamInteractionModule, FileSender, Object {
public void send_file(Conversation conversation, FileTransfer file_transfer) {
Xmpp.XmppStream? stream = stream_interactor.get_stream(file_transfer.account);
if (stream != null) {
- stream_interactor.module_manager.get_module(file_transfer.account, UploadStreamModule.IDENTITY).upload(stream, file_transfer.input_stream, file_transfer.server_file_name, file_transfer.size, file_transfer.mime_type,
+ stream_interactor.module_manager.get_module(file_transfer.account, UploadStreamModule.IDENTITY).upload(stream, file_transfer.input_stream, file_transfer.server_file_name, file_transfer.mime_type,
(stream, url_down) => {
uploaded(file_transfer, url_down);
file_transfer.info = url_down;