Changeset 10528
- Timestamp:
- 10/12/08 13:20:35 (6 weeks ago)
- Location:
- trunk/src
- Files:
-
- 2 modified
-
common/caps.py (modified) (3 diffs)
-
groupchat_control.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common/caps.py
r10518 r10528 229 229 # for disco... so that disco will learn how to interpret 230 230 # these caps 231 pm_ctrl = None 231 232 jid = helpers.get_full_jid_from_iq(presence) 232 233 contact = gajim.contacts.get_contact_from_full_jid(self.name, jid) … … 235 236 contact = gajim.contacts.get_gc_contact( 236 237 self.name, room_jid, nick) 238 pm_ctrl = gajim.interface.msg_win_mgr.get_control(jid, self.name) 237 239 if contact is None: 238 240 # TODO: a way to put contact not-in-roster … … 268 270 contact.caps_hash_method = hash_method 269 271 contact.caps_hash = hash 272 if pm_ctrl: 273 pm_ctrl.update_contact() 270 274 271 275 def _capsDiscoCB(self, jid, node, identities, features, dataforms): -
trunk/src/groupchat_control.py
r10518 r10528 162 162 self.got_connected() 163 163 ChatControl.update_ui(self) 164 165 def update_contact(self): 166 self.contact = gajim.contacts.contact_from_gc_contact(self.gc_contact) 164 167 165 168
