aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteckbrief <steckbrief@chefmail.de>2017-05-04 13:16:22 +0200
committersteckbrief <steckbrief@chefmail.de>2017-05-04 13:16:22 +0200
commitfd7ea5c319a3f7536bc67f81831c89edc82572f4 (patch)
tree72e0398b57fe74bea24916425ca8306a33ce6619
parent1f318bcd00ba5cb26657050810c3f43cbdce5581 (diff)
Send intended recipient with upload slot request
-rw-r--r--gajim-plugin/httpupload/httpupload.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gajim-plugin/httpupload/httpupload.py b/gajim-plugin/httpupload/httpupload.py
index b2bb3fc..33197fa 100644
--- a/gajim-plugin/httpupload/httpupload.py
+++ b/gajim-plugin/httpupload/httpupload.py
@@ -548,6 +548,7 @@ class Base(object):
name="content-type",
)
content_type.addData(mime_type)
+ request.setAttr("recipient", self.chat_control.contact.jid)
# send slot request and register callback
log.debug("sending httpupload slot request iq...")