summaryrefslogtreecommitdiff
path: root/slixmpp
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-07 21:14:38 +0100
committermathieui <mathieui@mathieui.net>2021-03-07 21:14:38 +0100
commitade1b010ede555bf37b1b8fbabb5ffe59d49ae35 (patch)
tree6eacd8dff3661dd08c2d614919f997c5e6dcdcb7 /slixmpp
parentc1a598c34be8ca5b85b69ce9a442363686261e35 (diff)
downloadslixmpp-ade1b010ede555bf37b1b8fbabb5ffe59d49ae35.tar.gz
slixmpp-ade1b010ede555bf37b1b8fbabb5ffe59d49ae35.tar.bz2
slixmpp-ade1b010ede555bf37b1b8fbabb5ffe59d49ae35.tar.xz
slixmpp-ade1b010ede555bf37b1b8fbabb5ffe59d49ae35.zip
XEP-0004: add "forms" as a multi-attrib plugin for Form
Diffstat (limited to 'slixmpp')
-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'}