diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-06-11 00:43:21 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <emmanuel.peyrot@collabora.com> | 2015-06-20 01:12:03 +0100 |
commit | c29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4 (patch) | |
tree | bce4ba7c4be161e2bfb72242fd2ecf58d5b26dcf /slixmpp/plugins | |
parent | 8335c087823938c956c8141ad9280990e515c3ae (diff) | |
download | slixmpp-c29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4.tar.gz slixmpp-c29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4.tar.bz2 slixmpp-c29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4.tar.xz slixmpp-c29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4.zip |
Remove JID cache, to better test for performance.
Diffstat (limited to 'slixmpp/plugins')
-rw-r--r-- | slixmpp/plugins/xep_0078/legacyauth.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/slixmpp/plugins/xep_0078/legacyauth.py b/slixmpp/plugins/xep_0078/legacyauth.py index 0bcfb3d0..d949a913 100644 --- a/slixmpp/plugins/xep_0078/legacyauth.py +++ b/slixmpp/plugins/xep_0078/legacyauth.py @@ -128,9 +128,8 @@ class XEP_0078(BasePlugin): self.xmpp.authenticated = True - self.xmpp.boundjid = JID(self.xmpp.requested_jid, - resource=resource, - cache_lock=True) + self.xmpp.boundjid = JID(self.xmpp.requested_jid) + self.xmpp.boundjid.resource = resource self.xmpp.event('session_bind', self.xmpp.boundjid) log.debug("Established Session") |