From c29fc39ef1d5b7e74f22d12cdcf6f68cfcaa21d4 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 11 Jun 2015 00:43:21 +0100 Subject: Remove JID cache, to better test for performance. --- slixmpp/plugins/xep_0078/legacyauth.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'slixmpp/plugins') 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") -- cgit v1.2.3