summaryrefslogtreecommitdiff
path: root/src/connection.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-01-11 06:43:31 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-01-11 06:43:31 +0100
commit749933fc16005d8e81d54830f532dd1cb9f85773 (patch)
treebd34b228e49f83c225afdd8ea9fa661b5ec36504 /src/connection.py
parent6bb94cdf0b88671b2ac12eb67f70555da565f238 (diff)
downloadpoezio-749933fc16005d8e81d54830f532dd1cb9f85773.tar.gz
poezio-749933fc16005d8e81d54830f532dd1cb9f85773.tar.bz2
poezio-749933fc16005d8e81d54830f532dd1cb9f85773.tar.xz
poezio-749933fc16005d8e81d54830f532dd1cb9f85773.zip
/accept and /deny commands
User can now decide to accept or deny a subscription, in the roster
Diffstat (limited to 'src/connection.py')
-rw-r--r--src/connection.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection.py b/src/connection.py
index dc2eeaae..d29fec82 100644
--- a/src/connection.py
+++ b/src/connection.py
@@ -50,6 +50,7 @@ class Connection(sleekxmpp.ClientXMPP):
password = None
sleekxmpp.ClientXMPP.__init__(self, jid, password, ssl=True)
self.auto_reconnect = False
+ self.auto_authorize = None
self.register_plugin('xep_0030')
self.register_plugin('xep_0045')
if config.get('send_poezio_info', 'true') == 'true':