fix esession caps condition
This commit is contained in:
parent
2cf1171124
commit
758adfbaf3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue