diff options
author | Lance stout <lancestout@gmail.com> | 2010-05-31 13:35:15 -0400 |
---|---|---|
committer | Lance stout <lancestout@gmail.com> | 2010-05-31 13:35:15 -0400 |
commit | 332eea3b3bae719c707e99031660197b22fe41ce (patch) | |
tree | 3283cb8eabb968a34a9d0a6750fe719f944eb525 | |
parent | 109af1b1b65901883e8776b5d509dd5c87bda4a1 (diff) | |
download | slixmpp-332eea3b3bae719c707e99031660197b22fe41ce.tar.gz slixmpp-332eea3b3bae719c707e99031660197b22fe41ce.tar.bz2 slixmpp-332eea3b3bae719c707e99031660197b22fe41ce.tar.xz slixmpp-332eea3b3bae719c707e99031660197b22fe41ce.zip |
Make sure that the node is alway set in disco responses.
-rw-r--r-- | sleekxmpp/plugins/xep_0030.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0030.py b/sleekxmpp/plugins/xep_0030.py index 6a31d243..2c8d4354 100644 --- a/sleekxmpp/plugins/xep_0030.py +++ b/sleekxmpp/plugins/xep_0030.py @@ -138,6 +138,9 @@ class DiscoNode(object): self.info = DiscoInfo() self.items = DiscoItems() + self.info['node'] = name + self.items['node'] = name + # This is a bit like poor man's inheritance, but # to simplify adding information to the node we # map node functions to either the info or items |