aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot2018-05-13 19:13:19 (GMT)
committerEmmanuel Gil Peyrot2018-05-13 19:13:22 (GMT)
commit1d9fe3553e54930cce10dce465fe6437fb638264 (patch)
tree014c18360302731aea488b15bf3f941e6277c33c
parentfe66c022adf914169d4fd378099ac843994c0567 (diff)
downloadslixmpp-1d9fe3553e54930cce10dce465fe6437fb638264.tar.gz
slixmpp-1d9fe3553e54930cce10dce465fe6437fb638264.tar.xz
examples: Use the existing get_node_config function.
-rwxr-xr-xexamples/pubsub_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pubsub_client.py b/examples/pubsub_client.py
index 6f59380..c5de2cf 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())