mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
XEP-0404: Fix some of MIX-Anon examples
* XML validation & indent * Wrong attribution of the form (<x/>) element, which was put as a sibling of thhe <user-preference/> element, where it should have been a child, according to the written text (and nearby examples)
This commit is contained in:
parent
e1d8c56771
commit
2c93e79692
11
xep-0404.xml
11
xep-0404.xml
@ -286,10 +286,12 @@ This change means that the client will not be able to determine real JID of the
|
||||
<field type='list-single' label='Preference for JID Visibility
|
||||
var='JID Visibility'>
|
||||
<option label='JID Never Shown'><value>Never</value></option>
|
||||
<option label='Default Behaviour'
|
||||
<value>default</value></option>
|
||||
<option label='Default Behaviour'>
|
||||
<value>default</value>
|
||||
</option>
|
||||
<option label='Try not to show JID'>
|
||||
<value>prefer not</value></option>
|
||||
<value>prefer not</value>
|
||||
</option>
|
||||
</field>
|
||||
<field type='list-single' label='Example Custom Preference'
|
||||
var='Custom Preference'>
|
||||
@ -308,7 +310,7 @@ This change means that the client will not be able to determine real JID of the
|
||||
from='hag66@shakespeare.example/UUID-a1j/7533'
|
||||
to='coven@mix.shakespeare.example'
|
||||
id='E6E10350-76CF-40C6-B91B-1EA08C332FC7'>
|
||||
<user-preference xmlns='urn:xmpp:mix:anon:0'/>
|
||||
<user-preference xmlns='urn:xmpp:mix:anon:0'>
|
||||
<x xmlns='jabber:x:data' type='submit'>
|
||||
<field var='FORM_TYPE' type='hidden'>
|
||||
<value>urn:xmpp:mix:anon:0</value>
|
||||
@ -323,6 +325,7 @@ This change means that the client will not be able to determine real JID of the
|
||||
<value>block</value>
|
||||
</field>
|
||||
</x>
|
||||
</user-preference>
|
||||
</iq>
|
||||
|
||||
<iq type='result'
|
||||
|
Loading…
Reference in New Issue
Block a user