Show
Ignore:
Timestamp:
02/06/08 06:24:07 (10 months ago)
Author:
bct
Message:

post-refactor traceback fixing

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/session_centric/src/session.py

    r9307 r9308  
    5252                                        if contact.our_chatstate == 'ask': # we were jep85 disco? 
    5353                                                contact.our_chatstate = 'active' # no more 
    54                                         self.control.handle_incoming_chatstate() 
     54                                        #self.control.handle_incoming_chatstate() XXX 
    5555                                elif contact.chatstate != 'active': 
    5656                                        # got no valid jep85 answer, peer does not support it 
     
    110110 
    111111                if gajim.interface.remote_ctrl: 
    112                         gajim.interface.remote_ctrl.raise_signal('NewMessage', (self.conn.name, [full_jid_with_resource, message, tim, encrypted, msg_type, subject, chatstate, msg_id, composing_xep, user_nick, xhtml, form_node])) 
     112                        gajim.interface.remote_ctrl.raise_signal('NewMessage', 
     113                                        (self.conn.name, [full_jid_with_resource, message, tim, 
     114                                                encrypted, msg_type, subject, chatstate, msg_id, 
     115                                                composing_xep, user_nick, xhtml, form_node])) 
    113116 
    114117        def roster_message(self, jid, msg, tim, encrypted=False, msg_type='', 
     
    189192                        event_type = 'single_message_received' 
    190193 
    191                 show_in_roster = notify.get_show_in_roster(event_type, self.conn.name, contact) 
     194                show_in_roster = notify.get_show_in_roster(event_type, self.conn.name, contact, self) 
    192195                show_in_systray = notify.get_show_in_systray(event_type, self.conn.name, contact) 
    193196 
     
    200203                if popup: 
    201204                        if not self.control: 
    202                                 self.control = self.new_chat(self, contact, self.conn.name, resource=resource_for_chat) 
     205                                self.control = gajim.interface.roster.new_chat(self, contact, self.conn.name, resource=resource_for_chat) 
    203206 
    204207                                if len(gajim.events.get_events(self.conn.name, fjid)):