diff options
Diffstat (limited to 'slixmpp/plugins/xep_0045.py')
-rw-r--r-- | slixmpp/plugins/xep_0045.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/slixmpp/plugins/xep_0045.py b/slixmpp/plugins/xep_0045.py index 942ba22a..3d910316 100644 --- a/slixmpp/plugins/xep_0045.py +++ b/slixmpp/plugins/xep_0045.py @@ -25,9 +25,9 @@ class MUCPresence(ElementBase): name = 'x' namespace = 'http://jabber.org/protocol/muc#user' plugin_attrib = 'muc' - interfaces = set(('affiliation', 'role', 'jid', 'nick', 'room')) - affiliations = set(('', )) - roles = set(('', )) + interfaces = {'affiliation', 'role', 'jid', 'nick', 'room'} + affiliations = {'', } + roles = {'', } def get_xml_item(self): item = self.xml.find('{http://jabber.org/protocol/muc#user}item') @@ -117,7 +117,7 @@ class XEP_0045(BasePlugin): name = 'xep_0045' description = 'XEP-0045: Multi-User Chat' - dependencies = set(['xep_0030', 'xep_0004']) + dependencies = {'xep_0030', 'xep_0004'} def plugin_init(self): self.rooms = {} |