Changeset 10014

Show
Ignore:
Timestamp:
07/23/08 20:34:26 (5 weeks ago)
Author:
js
Message:

Fix a TB.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/chat_control.py

    r10012 r10014  
    143143                        # We very likely got a contact with a random resource. 
    144144                        # This is bad, we need the highest for caps etc. 
    145                         contact = gajim.contacts. \ 
    146                                 get_contact_with_highest_priority( 
     145                        c = gajim.contacts.get_contact_with_highest_priority( 
    147146                                acct, contact.jid) 
     147                        if c: 
     148                                contact = c 
    148149 
    149150                MessageControl.__init__(self, type_id, parent_win, widget_name,