Show
Ignore:
Timestamp:
07/20/08 17:54:05 (4 months ago)
Author:
bct
Message:

make esessions an optional caps feature

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/common/helpers.py

    r9846 r9971  
    13411341                if not gajim.config.get('ignore_incoming_xhtml'): 
    13421342                        gajim.gajim_optional_features[a].append(xmpp.NS_XHTML_IM) 
    1343                 if gajim.HAVE_PYCRYPTO: 
    1344                         gajim.gajim_optional_features[a].append(xmpp.NS_ESESSION_INIT) 
     1343                if gajim.HAVE_PYCRYPTO and \ 
     1344                gajim.config.get_per('accounts', a, 'autonegotiate_esessions'): 
     1345                        gajim.gajim_optional_features[a].append(xmpp.NS_ESESSION) 
    13451346                if gajim.config.get_per('accounts', a, 'answer_receipts'): 
    13461347                        gajim.gajim_optional_features[a].append(xmpp.NS_RECEIPTS)