From 71ffee9036188728e75429f445cca43d41dd8022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 4 Feb 2019 11:03:50 +0100 Subject: [PATCH] commands: Pass the whole address to the upload helper. --- matrix/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix/commands.py b/matrix/commands.py index b03e427..615a58e 100644 --- a/matrix/commands.py +++ b/matrix/commands.py @@ -1078,7 +1078,7 @@ def matrix_upload_command_cb(data, buffer, args): upload = Upload( server.name, - server.client.host, + server.config.address, server.client.access_token, room_buffer.room.room_id, parsed_args.file,