XEP-0045: Remove unused MUCPresence attributes

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-05-29 17:35:30 +02:00
parent 9e8ac6b769
commit d58f59980f

View file

@ -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')