From 1d9fe3553e54930cce10dce465fe6437fb638264 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 13 May 2018 21:13:19 +0200 Subject: examples: Use the existing get_node_config function. --- examples/pubsub_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pubsub_client.py b/examples/pubsub_client.py index 6f59380d..c5de2cf1 100755 --- a/examples/pubsub_client.py +++ b/examples/pubsub_client.py @@ -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()) -- cgit v1.2.3