examples: Use the existing get_node_config function.
This commit is contained in:
parent
fe66c022ad
commit
1d9fe3553e
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ class PubsubClient(slixmpp.ClientXMPP):
|
|||
|
||||
def get_configure(self):
|
||||
try:
|
||||
configuration_form = yield from self['xep_0060'].get_configure_form(self.pubsub_server, self.node)
|
||||
configuration_form = yield from self['xep_0060'].get_node_config(self.pubsub_server, self.node)
|
||||
logging.info('Configure form received from node %s: %s', self.node, configuration_form)
|
||||
except XMPPError as error:
|
||||
logging.error('Could not retrieve configure form from node %s: %s', self.node, error.format())
|
||||
|
|
Loading…
Reference in a new issue