slixmpp is Python 3.4.4+, remove check for channel binding.
This commit is contained in:
parent
32839f5252
commit
c1562b76b2
1 changed files with 1 additions and 7 deletions
|
@ -97,13 +97,7 @@ class FeatureMechanisms(BasePlugin):
|
|||
jid = self.xmpp.requested_jid.bare
|
||||
result[value] = creds.get('email', jid)
|
||||
elif value == 'channel_binding':
|
||||
if hasattr(self.xmpp.socket, 'get_channel_binding'):
|
||||
result[value] = self.xmpp.socket.get_channel_binding()
|
||||
else:
|
||||
log.debug("Channel binding not supported.")
|
||||
log.debug("Use Python 3.3+ for channel binding and " + \
|
||||
"SCRAM-SHA-1-PLUS support")
|
||||
result[value] = None
|
||||
elif value == 'host':
|
||||
result[value] = creds.get('host', self.xmpp.requested_jid.domain)
|
||||
elif value == 'realm':
|
||||
|
|
Loading…
Reference in a new issue