fix esession caps condition

This commit is contained in:
Brendan Taylor 2008-07-21 19:55:16 +00:00
parent 2cf1171124
commit 758adfbaf3
1 changed files with 1 additions and 2 deletions

View File

@ -1340,8 +1340,7 @@ def update_optional_features(account = None):
gajim.gajim_optional_features[a].append(xmpp.NS_CHATSTATES)
if not gajim.config.get('ignore_incoming_xhtml'):
gajim.gajim_optional_features[a].append(xmpp.NS_XHTML_IM)
if gajim.HAVE_PYCRYPTO and \
gajim.config.get_per('accounts', a, 'autonegotiate_esessions'):
if gajim.HAVE_PYCRYPTO:
gajim.gajim_optional_features[a].append(xmpp.NS_ESESSION)
if gajim.config.get_per('accounts', a, 'answer_receipts'):
gajim.gajim_optional_features[a].append(xmpp.NS_RECEIPTS)