set privacy_list_requested attribute as soon as Connection object is created

This commit is contained in:
Yann Leboulanger 2011-08-21 23:13:25 +02:00
parent d5286d8375
commit 1482d1e10b
1 changed files with 1 additions and 0 deletions

View File

@ -714,6 +714,7 @@ class Connection(CommonConnection, ConnectionHandlers):
self.available_transports = {} # list of available transports on this self.available_transports = {} # list of available transports on this
# server {'icq': ['icq.server.com', 'icq2.server.com'], } # server {'icq': ['icq.server.com', 'icq2.server.com'], }
self.private_storage_supported = True self.private_storage_supported = True
self.privacy_rules_requested = False
self.streamError = '' self.streamError = ''
self.secret_hmac = str(random.random())[2:] self.secret_hmac = str(random.random())[2:]
gajim.ged.register_event_handler('privacy-list-received', ged.CORE, gajim.ged.register_event_handler('privacy-list-received', ged.CORE,