From 7515e1d4335f5efd59098fb720545baf7345cb0e Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Wed, 8 Mar 2006 11:42:15 +0000 Subject: [PATCH] better varname for list of jids for auto auth --- src/common/connection.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index de86af3e6..bc7bc113f 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -204,7 +204,7 @@ class Connection: HAS_IDLE = False self.on_connect_success = None self.retrycount = 0 - self.auto_auth = [] # list of jid to auto-authorize + self.jids_for_auto_auth = [] # list of jid to auto-authorize # END __init__ def get_full_jid(self, iq_obj): @@ -567,7 +567,7 @@ class Connection: if ptype == 'subscribe': gajim.log.debug('subscribe request from %s' % who) if gajim.config.get('alwaysauth') or who.find("@") <= 0 or \ - jid_stripped in self.auto_auth: + jid_stripped in self.jids_for_auto_auth: if self.connection: p = common.xmpp.Presence(who, 'subscribed') p = self.add_sha(p) @@ -2206,7 +2206,7 @@ class Connection: return gajim.log.debug('subscription request for %s' % jid) if auto_auth: - self.auto_auth.append(jid) + self.jids_for_auto_auth.append(jid) # RFC 3921 section 8.2 infos = {'jid': jid} if name: