From d58f59980fe59deeb47a2611e53f54dd9213b80b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Fri, 29 May 2020 17:35:30 +0200 Subject: XEP-0045: Remove unused MUCPresence attributes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- slixmpp/plugins/xep_0045/stanza.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'slixmpp/plugins/xep_0045/stanza.py') diff --git a/slixmpp/plugins/xep_0045/stanza.py b/slixmpp/plugins/xep_0045/stanza.py index c18ec787..61aca7de 100644 --- a/slixmpp/plugins/xep_0045/stanza.py +++ b/slixmpp/plugins/xep_0045/stanza.py @@ -24,8 +24,6 @@ class MUCPresence(ElementBase): namespace = NS_USER plugin_attrib = 'muc' interfaces = {'affiliation', 'role', 'jid', 'nick', 'room'} - affiliations = {'', } - roles = {'', } def get_item_attr(self, attr, default: str): item = self.xml.find(f'{{{NS_USER}}}item') -- cgit v1.2.3