Changeset 10012
- Timestamp:
- 07/23/08 20:21:02 (3 months ago)
- Location:
- trunk/src
- Files:
-
- 2 modified
-
chat_control.py (modified) (1 diff)
-
gajim.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); -
trunk/src/gajim.py
r10011 r10012 834 834 if ctrl: 835 835 ctrl.set_session(None) 836 ctrl.contact = highest 836 837 837 838 def handle_event_msgerror(self, account, array):
