Changeset 10012 for trunk/src/chat_control.py
- Timestamp:
- 07/23/08 20:21:02 (4 months ago)
- Files:
-
- 1 modified
-
trunk/src/chat_control.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/chat_control.py
r10011 r10012 140 140 def __init__(self, type_id, parent_win, widget_name, contact, acct, 141 141 resource = None): 142 if resource is None: 143 # We very likely got a contact with a random resource. 144 # This is bad, we need the highest for caps etc. 145 contact = gajim.contacts. \ 146 get_contact_with_highest_priority( 147 acct, contact.jid) 148 142 149 MessageControl.__init__(self, type_id, parent_win, widget_name, 143 150 contact, acct, resource = resource);
