should fix zeroconf-related tb on exit

This commit is contained in:
Brendan Taylor 2008-05-19 18:27:45 +00:00
parent 0346e29e89
commit f413a8a7e8
1 changed files with 3 additions and 0 deletions

View File

@ -1216,6 +1216,9 @@ class ConnectionHandlersBase:
# keep track of sessions this connection has with other JIDs # keep track of sessions this connection has with other JIDs
self.sessions = {} self.sessions = {}
if gajim.otr_module:
self.otr_userstates = gajim.otr_module.otrl_userstate_create()
def _FeatureNegCB(self, con, stanza, session): def _FeatureNegCB(self, con, stanza, session):
gajim.log.debug('FeatureNegCB') gajim.log.debug('FeatureNegCB')
feature = stanza.getTag(name='feature', namespace=common.xmpp.NS_FEATURE) feature = stanza.getTag(name='feature', namespace=common.xmpp.NS_FEATURE)