diff options
author | mathieui <mathieui@mathieui.net> | 2021-03-08 18:53:56 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-03-08 18:53:56 +0100 |
commit | cb83ebe32c12b4ccf36753e8f19f4b5d514ae00e (patch) | |
tree | d6d827884f738588c0b4f9008798ab2f398a2fe7 | |
parent | cd0845515a168f00e227d0604335f198b9285d06 (diff) | |
parent | ade1b010ede555bf37b1b8fbabb5ffe59d49ae35 (diff) | |
download | slixmpp-cb83ebe32c12b4ccf36753e8f19f4b5d514ae00e.tar.gz slixmpp-cb83ebe32c12b4ccf36753e8f19f4b5d514ae00e.tar.bz2 slixmpp-cb83ebe32c12b4ccf36753e8f19f4b5d514ae00e.tar.xz slixmpp-cb83ebe32c12b4ccf36753e8f19f4b5d514ae00e.zip |
Merge branch 'form-multi-attrib' into 'master'
XEP-0004: add "forms" as a multi-attrib plugin for Form
See merge request poezio/slixmpp!147
-rw-r--r-- | slixmpp/plugins/xep_0004/stanza/form.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/slixmpp/plugins/xep_0004/stanza/form.py b/slixmpp/plugins/xep_0004/stanza/form.py index 9af96a4c..84c89173 100644 --- a/slixmpp/plugins/xep_0004/stanza/form.py +++ b/slixmpp/plugins/xep_0004/stanza/form.py @@ -19,6 +19,7 @@ class Form(ElementBase): namespace = 'jabber:x:data' name = 'x' plugin_attrib = 'form' + plugin_multi_attrib = 'forms' interfaces = OrderedSet(('instructions', 'reported', 'title', 'type', 'items', 'values')) sub_interfaces = {'title'} form_types = {'cancel', 'form', 'result', 'submit'} |