Changeset 9956 for trunk/src/gajim.py

Show
Ignore:
Timestamp:
07/19/08 01:33:59 (5 months ago)
Author:
bct
Message:

automatically restart esession when we can't decrypt a message

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gajim.py

    r9955 r9956  
    17381738                else: 
    17391739                        dialogs.WarningDialog(_('Unable to decrypt message'), details) 
     1740 
     1741                # terminate the session 
     1742                session.terminate_e2e() 
     1743                session.conn.delete_session(jid, session.thread_id) 
     1744 
     1745                # restart the session 
     1746                session.begin_e2e_negotiation() 
    17401747 
    17411748        def handle_event_privacy_lists_received(self, account, data):