From 2f1225bad3d89f03a3251696abd7e30807ca4d6b Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 14 Mar 2018 16:25:21 +0100 Subject: Carry the node attribute to the disco#info result. Fixes #3323. --- slixmpp/plugins/xep_0030/disco.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slixmpp/plugins/xep_0030/disco.py b/slixmpp/plugins/xep_0030/disco.py index e6286b92..166ad981 100644 --- a/slixmpp/plugins/xep_0030/disco.py +++ b/slixmpp/plugins/xep_0030/disco.py @@ -646,9 +646,11 @@ class XEP_0030(BasePlugin): info['id'] = iq['id'] info.send() else: + node = iq['disco_info']['node'] iq = iq.reply() if info: info = self._fix_default_info(info) + info['node'] = node iq.set_payload(info.xml) iq.send() elif iq['type'] == 'result': -- cgit v1.2.3