diff options
Diffstat (limited to 'slixmpp/plugins/xep_0045/stanza.py')
-rw-r--r-- | slixmpp/plugins/xep_0045/stanza.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/slixmpp/plugins/xep_0045/stanza.py b/slixmpp/plugins/xep_0045/stanza.py index 428dbce7..6c3d2244 100644 --- a/slixmpp/plugins/xep_0045/stanza.py +++ b/slixmpp/plugins/xep_0045/stanza.py @@ -235,6 +235,7 @@ class MUCOwnerQuery(ElementBase): class MUCOwnerDestroy(ElementBase): name = 'destroy' plugin_attrib = 'destroy' + namespace = NS_OWNER interfaces = {'reason', 'jid'} sub_interfaces = {'reason'} @@ -288,3 +289,11 @@ class MUCActor(ElementBase): if jid: return JID(jid) return jid + + +class MUCDestroy(ElementBase): + name = 'destroy' + plugin_attrib = 'destroy' + namespace = NS_USER + interfaces = {'reason', 'jid'} + sub_interfaces = {'reason'} |