diff options
Diffstat (limited to 'slixmpp/plugins/xep_0085/stanza.py')
-rw-r--r-- | slixmpp/plugins/xep_0085/stanza.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0085/stanza.py b/slixmpp/plugins/xep_0085/stanza.py index de1bc645..d0987308 100644 --- a/slixmpp/plugins/xep_0085/stanza.py +++ b/slixmpp/plugins/xep_0085/stanza.py @@ -37,11 +37,11 @@ class ChatState(ElementBase): name = '' namespace = 'http://jabber.org/protocol/chatstates' plugin_attrib = 'chat_state' - interfaces = set(('chat_state',)) + interfaces = {'chat_state'} sub_interfaces = interfaces is_extension = True - states = set(('active', 'composing', 'gone', 'inactive', 'paused')) + states = {'active', 'composing', 'gone', 'inactive', 'paused'} def setup(self, xml=None): self.xml = ET.Element('') |