summaryrefslogtreecommitdiff
path: root/sleekxmpp/features
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-08-01 09:04:58 -0700
committerLance Stout <lancestout@gmail.com>2012-08-01 09:04:58 -0700
commit475ccfa8dcc135934b7beef9826e67eb513bb828 (patch)
tree551a9e2112cbf49b5d6e6088c2ffc158ce0211ed /sleekxmpp/features
parent267c24c8ef042e6c9a1a5fe46278eee9d04d5e07 (diff)
downloadslixmpp-475ccfa8dcc135934b7beef9826e67eb513bb828.tar.gz
slixmpp-475ccfa8dcc135934b7beef9826e67eb513bb828.tar.bz2
slixmpp-475ccfa8dcc135934b7beef9826e67eb513bb828.tar.xz
slixmpp-475ccfa8dcc135934b7beef9826e67eb513bb828.zip
Use correct method for getting channel binding.
Diffstat (limited to 'sleekxmpp/features')
-rw-r--r--sleekxmpp/features/feature_mechanisms/mechanisms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/features/feature_mechanisms/mechanisms.py b/sleekxmpp/features/feature_mechanisms/mechanisms.py
index 0132765f..b5554181 100644
--- a/sleekxmpp/features/feature_mechanisms/mechanisms.py
+++ b/sleekxmpp/features/feature_mechanisms/mechanisms.py
@@ -99,7 +99,7 @@ class FeatureMechanisms(BasePlugin):
result[value] = creds.get('email', jid)
elif value == 'channel_binding':
if sys.version_info >= (3, 3):
- result[value] = self.xmpp.socket.channel_binding()
+ result[value] = self.xmpp.socket.get_channel_binding()
else:
result[value] = None
elif value == 'host':