Changeset 9848

Show
Ignore:
Timestamp:
06/27/08 01:37:24 (4 months ago)
Author:
bct
Message:

teeny-tiny fix

Location:
trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/gajim.py

    r9847 r9848  
    10351035 
    10361036                # show avatar in chat 
     1037                ctrl = None 
    10371038                if resource and self.msg_win_mgr.has_window(fjid, account): 
    10381039                        win = self.msg_win_mgr.get_window(fjid, account) 
  • trunk/src/message_window.py

    r9847 r9848  
    446446                jid = gajim.get_jid_without_resource(fjid) 
    447447 
    448                 fctrls = self.get_controls(fjid, ctrl.account) 
    449                 bctrls = self.get_controls(jid, ctrl.account) 
     448                fctrl = self.get_control(fjid, ctrl.account) 
     449                bctrl = self.get_control(jid, ctrl.account) 
    450450                # keep last_message_time around unless this was our last control with 
    451451                # that jid 
    452                 if not fctrls and not bctrls: 
     452                if not fctrl and not bctrl: 
    453453                        del gajim.last_message_time[ctrl.account][fjid] 
    454454