summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-08 18:53:56 +0100
committermathieui <mathieui@mathieui.net>2021-03-08 18:53:56 +0100
commitcb83ebe32c12b4ccf36753e8f19f4b5d514ae00e (patch)
treed6d827884f738588c0b4f9008798ab2f398a2fe7
parentcd0845515a168f00e227d0604335f198b9285d06 (diff)
parentade1b010ede555bf37b1b8fbabb5ffe59d49ae35 (diff)
downloadslixmpp-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.py1
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'}