1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-21 23:28:51 -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'>
<value>urn:xmpp:dataforms:softwareinfo</value>
</field>
<field var='ip_version'>
<field var='ip_version' type='text-multi' >
<value>ipv4</value>
<value>ipv6</value>
</field>