diff options
author | mathieui <mathieui@mathieui.net> | 2020-12-27 19:44:31 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-12-27 19:44:31 +0100 |
commit | ce0d615786bccb1998df277d693880bb247e069d (patch) | |
tree | a12fd365eb1dc56b46cf1229ff5599231ebdcafd /slixmpp/plugins/xep_0045/stanza.py | |
parent | d91eea3a3afdeb3cfe6ea4c913dcaff32a07b318 (diff) | |
parent | 1e08c900185dec05111fb9f158497c8b3ff634d3 (diff) | |
download | slixmpp-ce0d615786bccb1998df277d693880bb247e069d.tar.gz slixmpp-ce0d615786bccb1998df277d693880bb247e069d.tar.bz2 slixmpp-ce0d615786bccb1998df277d693880bb247e069d.tar.xz slixmpp-ce0d615786bccb1998df277d693880bb247e069d.zip |
Merge branch 'muc-mypy-fixes' into 'master'
XEP-0045: Fix issues found by mypy
See merge request poezio/slixmpp!95
Diffstat (limited to 'slixmpp/plugins/xep_0045/stanza.py')
-rw-r--r-- | slixmpp/plugins/xep_0045/stanza.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0045/stanza.py b/slixmpp/plugins/xep_0045/stanza.py index 64224949..8de938fb 100644 --- a/slixmpp/plugins/xep_0045/stanza.py +++ b/slixmpp/plugins/xep_0045/stanza.py @@ -220,7 +220,8 @@ class MUCAdminItem(ElementBase): namespace = NS_ADMIN name = 'item' plugin_attrib = 'item' - interfaces = {'role', 'affiliation', 'nick', 'jid'} + interfaces = {'role', 'affiliation', 'nick', 'jid', 'reason'} + sub_interfaces = {'reason'} class MUCStatus(ElementBase): |