summaryrefslogtreecommitdiff
path: root/src/roster.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/roster.py')
-rw-r--r--src/roster.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/roster.py b/src/roster.py
index adf0fd2a..3458d5b5 100644
--- a/src/roster.py
+++ b/src/roster.py
@@ -25,13 +25,9 @@ from sleekxmpp.exceptions import IqError
class Roster(object):
"""
The proxy class to get the roster from SleekXMPP.
- Adds a blacklist for the MUC domains (or else they would show here),
- and caches Contact and RosterGroup objects.
+ Caches Contact and RosterGroup objects.
"""
- # MUC domains to blacklist from the contacts roster
- blacklist = set()
-
def __init__(self):
"""
node: the RosterSingle from SleekXMPP
@@ -121,7 +117,7 @@ class Roster(object):
def jids(self):
"""List of the contact JIDS"""
- return [key for key in self.__node.keys() if safeJID(key).server not in self.blacklist and key != self.jid]
+ return [key for key in self.__node.keys() if key != self.jid]
def get_contacts(self):
"""