diff options
author | Lance Stout <lancestout@gmail.com> | 2012-10-01 16:27:55 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-10-01 16:27:55 -0700 |
commit | 657102e938aeb385cd44daf3cc213a40d58c36fa (patch) | |
tree | 75691dd1ff76db43131d1d4b0b029ea054b3b964 /sleekxmpp/features | |
parent | 94488fa2ea4dac7ff6fce20621d2e80e700f6299 (diff) | |
download | slixmpp-657102e938aeb385cd44daf3cc213a40d58c36fa.tar.gz slixmpp-657102e938aeb385cd44daf3cc213a40d58c36fa.tar.bz2 slixmpp-657102e938aeb385cd44daf3cc213a40d58c36fa.tar.xz slixmpp-657102e938aeb385cd44daf3cc213a40d58c36fa.zip |
Update legacy auth to be used outside of stream features.
Also, add detection of legacy XMPP version.
Diffstat (limited to 'sleekxmpp/features')
-rw-r--r-- | sleekxmpp/features/feature_mechanisms/mechanisms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/features/feature_mechanisms/mechanisms.py b/sleekxmpp/features/feature_mechanisms/mechanisms.py index 672f4fa6..b480d5be 100644 --- a/sleekxmpp/features/feature_mechanisms/mechanisms.py +++ b/sleekxmpp/features/feature_mechanisms/mechanisms.py @@ -44,7 +44,7 @@ class FeatureMechanisms(BasePlugin): } def plugin_init(self): - if not self.use_mech and not self.xmpp.boundjid.user: + if not self.use_mech and not self.xmpp.requested_jid.user: self.use_mech = 'ANONYMOUS' if self.sasl_callback is None: |