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/common/stanza_session.py

    r9861 r9964  
    484484                x.addChild(node=xmpp.DataField(name='my_nonce', value=base64.b64encode(self.n_s), typ='hidden')) 
    485485 
    486                 modp_options = [ 5, 14, 2, 1 ] 
     486                modp_options = [ int(g) for g in gajim.config.get('esession_modp').split(',') ] 
    487487 
    488488                x.addChild(node=xmpp.DataField(name='modp', typ='list-single', options=map(lambda x: [ None, x ], modp_options)))