core: exceptions moved to core
plugin group blog: group blog now manage public microblogs
This commit is contained in:
parent
723b468fcc
commit
52b00f6d6f
1 changed files with 57 additions and 41 deletions
|
|
@ -187,7 +187,7 @@ class SatRosterProtocol(xmppim.RosterClientProtocol):
|
|||
bare_jid = item.jid.userhost()
|
||||
self._jids[bare_jid] = item
|
||||
for group in item.groups:
|
||||
self._groups.get(group,set()).add(bare_jid)
|
||||
self._groups.setdefault(group,set()).add(bare_jid)
|
||||
self.host.bridge.newContact(item.jid.full(), self.getAttributes(item), item.groups, self.parent.profile)
|
||||
|
||||
def onRosterRemove(self, entity):
|
||||
|
|
|
|||
Loading…
Reference in a new issue