From 475ccfa8dcc135934b7beef9826e67eb513bb828 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 1 Aug 2012 09:04:58 -0700 Subject: [PATCH] Use correct method for getting channel binding. --- sleekxmpp/features/feature_mechanisms/mechanisms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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':