1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-25 02:32:18 -05:00

caps: fix complex generation example by adding missing form field type

The default form field type is text-single, but the hyptothetical
field ip_version has multiple values and hence can not be of type
text-single.
This commit is contained in:
Florian Schmaus 2020-04-30 22:19:56 +02:00
parent b2e20eeefd
commit b35f5e9268

View File

@ -345,7 +345,7 @@
<field var='FORM_TYPE' type='hidden'> <field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:dataforms:softwareinfo</value> <value>urn:xmpp:dataforms:softwareinfo</value>
</field> </field>
<field var='ip_version'> <field var='ip_version' type='text-multi' >
<value>ipv4</value> <value>ipv4</value>
<value>ipv6</value> <value>ipv6</value>
</field> </field>