Changeset 9429
- Timestamp:
- 04/02/08 01:13:10 (8 months ago)
- Location:
- trunk/src
- Files:
-
- 2 modified
-
common/contacts.py (modified) (2 diffs)
-
roster_window.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common/contacts.py
r9424 r9429 217 217 self._contacts[account] = {} 218 218 219 def remove_jid(self, account, jid ):219 def remove_jid(self, account, jid, remove_meta=True): 220 220 '''Removes all contacts for a given jid''' 221 221 if not self._contacts.has_key(account): … … 224 224 return 225 225 del self._contacts[account][jid] 226 # remove metacontacts info 227 self.remove_metacontact(account, jid) 226 if remove_meta: 227 # remove metacontacts info 228 self.remove_metacontact(account, jid) 228 229 229 230 def get_contacts(self, account, jid): -
trunk/src/roster_window.py
r9413 r9429 1295 1295 for jid in array.keys(): 1296 1296 # Remove old Contact instances 1297 gajim.contacts.remove_jid(account, jid )1297 gajim.contacts.remove_jid(account, jid, remove_meta=False) 1298 1298 jids = jid.split('/') 1299 1299 # get jid
