summaryrefslogtreecommitdiff
path: root/slixmpp/plugins
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-06-11 00:43:21 +0100
committerEmmanuel Gil Peyrot <emmanuel.peyrot@collabora.com>2015-06-20 01:12:03 +0100
commitc29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4 (patch)
treebce4ba7c4be161e2bfb72242fd2ecf58d5b26dcf /slixmpp/plugins
parent8335c087823938c956c8141ad9280990e515c3ae (diff)
downloadslixmpp-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.py5
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")