diff options
author | Sangeeth Saravanaraj <sangeeth@riptideio.com> | 2015-08-27 13:24:01 +0530 |
---|---|---|
committer | Sangeeth Saravanaraj <sangeeth@riptideio.com> | 2015-08-27 13:24:01 +0530 |
commit | 18e5abb9ddc1689e7e5963cf40259a2685eed9b5 (patch) | |
tree | 7077e17adef240f0fdaaf87ce1e4205af81852a9 | |
parent | abcec1e2d3348cabf6f9f6fc26d31be1e2c6c9ed (diff) | |
download | slixmpp-18e5abb9ddc1689e7e5963cf40259a2685eed9b5.tar.gz slixmpp-18e5abb9ddc1689e7e5963cf40259a2685eed9b5.tar.bz2 slixmpp-18e5abb9ddc1689e7e5963cf40259a2685eed9b5.tar.xz slixmpp-18e5abb9ddc1689e7e5963cf40259a2685eed9b5.zip |
adding 'id' to self['xep_0332'].send_request()
-rw-r--r-- | sleekxmpp/plugins/xep_0332/http.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0332/http.py b/sleekxmpp/plugins/xep_0332/http.py index 92e2546f..70bcafa6 100644 --- a/sleekxmpp/plugins/xep_0332/http.py +++ b/sleekxmpp/plugins/xep_0332/http.py @@ -108,6 +108,8 @@ class XEP_0332(BasePlugin): iq['http-req']['method'] = method iq['http-req']['resource'] = resource iq['http-req']['version'] = '1.1' # TODO: set this implicitly + if 'id' in kwargs: + iq['id'] = kwargs["id"] if data is not None: iq['http-req']['data'] = data return iq.send( |