XEP-0045: Remove unused MUCPresence attributes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
9e8ac6b769
commit
d58f59980f
@ -24,8 +24,6 @@ class MUCPresence(ElementBase):
|
|||||||
namespace = NS_USER
|
namespace = NS_USER
|
||||||
plugin_attrib = 'muc'
|
plugin_attrib = 'muc'
|
||||||
interfaces = {'affiliation', 'role', 'jid', 'nick', 'room'}
|
interfaces = {'affiliation', 'role', 'jid', 'nick', 'room'}
|
||||||
affiliations = {'', }
|
|
||||||
roles = {'', }
|
|
||||||
|
|
||||||
def get_item_attr(self, attr, default: str):
|
def get_item_attr(self, attr, default: str):
|
||||||
item = self.xml.find(f'{{{NS_USER}}}item')
|
item = self.xml.find(f'{{{NS_USER}}}item')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user