plugin group blog: getMassiveGroupBlog first draft
This commit is contained in:
parent
972b4c2555
commit
8d8b0d54a8
1 changed files with 64 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue