1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-25 10:42:19 -05:00

XEP-0369: Make the XEP-0128 dataform valid in service disco#info.

XEP-0004 specifies that the var attribute is mandatory on every
non-fixed field of a dataform.

Also, for i18n reasons, mandating a label as a field identifier would
prevent any translation of it.
This commit is contained in:
Emmanuel Gil Peyrot 2016-08-13 03:15:36 +01:00
parent 487c79fe3d
commit 42c2425b29

View File

@ -349,7 +349,8 @@
<field var='FORM_TYPE' type='hidden'> <field var='FORM_TYPE' type='hidden'>
<value>urn:xmpp:mix:0#serviceinfo</value> <value>urn:xmpp:mix:0#serviceinfo</value>
</field> </field>
<field <field var='muc-mirror'
type='jid-single'
label='Location of MUC mirror service'> label='Location of MUC mirror service'>
<value>chat.shakespeare.example</value> <value>chat.shakespeare.example</value>
</field> </field>
@ -358,7 +359,7 @@
</iq> </iq>
]]></example> ]]></example>
<p>The result is returned in an extended disco results in a form whose type value is 'urn:xmpp:mix:0#serviceinfo'. <p>The result is returned in an extended disco results in a form whose type value is 'urn:xmpp:mix:0#serviceinfo'.
If the MIX service is mirrored to a MUC service for backwards-compatibility, this SHOULD be signaled by the inclusion of field with label 'Location of MUC mirror service', the value of which is the mirrored MUC domain. Where a MIX server supports MIX channels as &xep0045; rooms, the domain used for MUC may be different to the MIX domain or it MAY be the same.</p> If the MIX service is mirrored to a MUC service for backwards-compatibility, this SHOULD be signaled by the inclusion of field with var='muc-mirror', the value of which is the mirrored MUC domain's JID. Where a MIX server supports MIX channels as &xep0045; rooms, the domain used for MUC may be different to the MIX domain or it MAY be the same.</p>
<p>Note that the MIX service itself doesn't advertise support for &xep0313;, nor is support for generic &xep0060; advertised.</p> <p>Note that the MIX service itself doesn't advertise support for &xep0313;, nor is support for generic &xep0060; advertised.</p>
</section2> </section2>
<section2 topic='Discovering the Channels on a Service' anchor='disco-channel-list'> <section2 topic='Discovering the Channels on a Service' anchor='disco-channel-list'>