Changeset 10526

Show
Ignore:
Timestamp:
10/12/08 00:37:11 (6 weeks ago)
Author:
bct
Message:

fix renegotiation when a message was unable to decrypt. fixes #4360.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gajim.py

    r10520 r10526  
    18191819                        '%s\nIt may have been tampered with.') % jid 
    18201820 
    1821                 if session.control: 
    1822                         session.control.print_conversation_line(details, 
    1823                                 'status', '', tim) 
     1821                ctrl = session.control 
     1822                if ctrl: 
     1823                        ctrl.print_conversation_line(details, 'status', '', tim) 
    18241824                else: 
    18251825                        dialogs.WarningDialog(_('Unable to decrypt message'), 
     
    18311831 
    18321832                # restart the session 
    1833                 session.negotiate_e2e(False) 
     1833                if ctrl: 
     1834                        ctrl.begin_e2e_negotiation() 
    18341835 
    18351836        def handle_event_privacy_lists_received(self, account, data):