Show
Ignore:
Timestamp:
07/25/08 00:14:42 (4 months ago)
Author:
js
Message:

Renegotiate if the remote end got disconnected and now got back online.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/chat_control.py

    r10019 r10021  
    22632263                        if not e2e_is_active and e2e_pref and \ 
    22642264                        not self.no_autonegotiation and gajim.HAVE_PYCRYPTO \ 
    2265                         and e2e_pref and gajim.capscache.is_supported( 
    2266                         self.contact, NS_ESESSION) and not \ 
    2267                         gajim.capscache.is_supported(self.contact, 
    2268                         'notexistant'): 
     2265                        and gajim.capscache.is_supported(self.contact, 
     2266                        NS_ESESSION) and not gajim.capscache.is_supported( 
     2267                        self.contact, 'notexistant'): 
     2268                                self.begin_e2e_negotiation() 
    22692269                                self.no_autonegotiation = True 
    2270                                 self.begin_e2e_negotiation() 
    22712270                else: 
    22722271                        self.send_chatstate('active', self.contact)