plugin group blog: getMassiveGroupBlog first draft

This commit is contained in:
Goffi 2012-03-29 00:04:31 +02:00
commit 8d8b0d54a8

View file

@ -224,9 +224,13 @@ class SatRosterProtocol(xmppim.RosterClientProtocol):
@return: RosterItem or None if contact is not in cache"""
return self._jids.get(jid.userhost(), None)
def getBareJids(self):
"""Return all bare jids (as unicode) of the roster"""
return self._jids.keys()
def getItems(self):
"""Return all items of the roster"""
return self._jids
return self._jids.values()
class SatPresenceProtocol(xmppim.PresenceClientProtocol):