comparison src/core/sat_main.py @ 347:ea3e1b82dd79

core: contact deletion from roster if we have no subscription to it (behaviour may change in futur) quick frontend: groups is updated in contactList in case of roster push
author Goffi <goffi@goffi.org>
date Sun, 29 May 2011 16:12:08 +0200
parents ca3a041fed30
children cc2afb92ab93
comparison
equal deleted inserted replaced
346:ca3a041fed30 347:ea3e1b82dd79
473 profile = self.memory.getProfileName(profile_key) 473 profile = self.memory.getProfileName(profile_key)
474 assert(profile) 474 assert(profile)
475 to_jid=jid.JID(to) 475 to_jid=jid.JID(to)
476 self.profiles[profile].roster.removeItem(to_jid) 476 self.profiles[profile].roster.removeItem(to_jid)
477 self.profiles[profile].presence.unsubscribe(to_jid) 477 self.profiles[profile].presence.unsubscribe(to_jid)
478 self.bridge.contactDeleted(to, profile)
479 478
480 479
481 ## callbacks ## 480 ## callbacks ##
482 481
483 def serverDisco(self, disco, profile): 482 def serverDisco(self, disco, profile):