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

groupchat sessions fix

Files:
1 modified

Legend:

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

    r9308 r9320  
    676676                                # we want to have save this message in events list 
    677677                                # other_tags_for_text == ['marked'] --> highlighted gc message 
    678                                 type_ = 'printed_' + self.type_id 
    679                                 event = 'message_received' 
    680                                 show_in_roster = notify.get_show_in_roster(event, 
    681                                         self.account, self.contact, self.session) 
    682                                 show_in_systray = notify.get_show_in_systray(event, 
    683                                         self.account, self.contact) 
    684678                                if gc_message: 
    685679                                        type_ = 'printed_gc_msg' 
     
    691685                                        if other_tags_for_text == ['marked']: 
    692686                                                type_ = 'printed_marked_gc_msg' 
     687                                else: 
     688                                        type_ = 'printed_' + self.type_id 
     689                                        event = 'message_received' 
     690                                        show_in_roster = notify.get_show_in_roster(event, 
     691                                                self.account, self.contact, self.session) 
     692                                        show_in_systray = notify.get_show_in_systray(event, 
     693                                                self.account, self.contact) 
     694 
    693695                                event = gajim.events.create_event(type_, None, 
    694696                                        show_in_roster = show_in_roster,