mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
Make sure that the node is alway set in disco responses.
This commit is contained in:
parent
109af1b1b6
commit
332eea3b3b
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue