From ade1b010ede555bf37b1b8fbabb5ffe59d49ae35 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 7 Mar 2021 21:14:38 +0100 Subject: [PATCH] XEP-0004: add "forms" as a multi-attrib plugin for Form --- slixmpp/plugins/xep_0004/stanza/form.py | 1 + 1 file changed, 1 insertion(+) 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'}