Changeset 9636 for trunk/src/session.py
- Timestamp:
- 05/14/08 02:37:06 (6 months ago)
- Files:
-
- 1 modified
-
trunk/src/session.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/session.py
r9635 r9636 56 56 def received(self, full_jid_with_resource, msgtxt, tim, encrypted, subject, msg): 57 57 msg_type = msg.getType() 58 59 if not msg_type: 60 msg_type = 'normal' 61 58 62 msg_id = None 59 63 … … 114 118 115 119 jid_of_control = full_jid_with_resource 120 121 highest_contact = gajim.contacts.get_contact_with_highest_priority( 122 self.conn.name, jid) 123 124 if not pm: 125 if not highest_contact or not highest_contact.resource or \ 126 resource == highest_contact.resource or highest_contact.show == 'offline': 127 jid_of_control = jid 116 128 117 129 # Handle chat states
