Show
Ignore:
Timestamp:
07/19/08 22:42:03 (5 months ago)
Author:
bct
Message:

added option for esession autonegotiation
added option for modp groups to use in a negotiation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/chat_control.py

    r9963 r9964  
    11561156                # then try E2E 
    11571157                # XXX: Once we have fallback to disco, remove notexistant check 
    1158                 elif not e2e_is_active and \ 
    1159                 gajim.capscache.is_supported(contact, NS_ESESSION) and \ 
    1160                 not gajim.capscache.is_supported(contact, 'notexistant'): 
     1158                elif not e2e_is_active and gajim.HAVE_PYCRYPTO \ 
     1159                and gajim.config.get('autonegotiate_esessions') \ 
     1160                and gajim.capscache.is_supported(contact, NS_ESESSION) \ 
     1161                and not gajim.capscache.is_supported(contact, 'notexistant'): 
    11611162                        self.begin_e2e_negotiation() 
    11621163