Merge branch 'form-multi-attrib' into 'master'

XEP-0004: add "forms" as a multi-attrib plugin for Form

See merge request poezio/slixmpp!147
This commit is contained in:
mathieui 2021-03-08 18:53:56 +01:00
commit cb83ebe32c

View file

@ -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'}