mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 23:28:51 -05:00
XEP-0401: Handle namespace bump
This commit is contained in:
parent
3892030c27
commit
67fa7b86ef
14
xep-0401.xml
14
xep-0401.xml
@ -38,6 +38,8 @@
|
|||||||
<p>Used Data Forms for extension of In-Band Registration as required by <strong>XEP-0077</strong> § 4.</p>
|
<p>Used Data Forms for extension of In-Band Registration as required by <strong>XEP-0077</strong> § 4.</p>
|
||||||
<p>Added "defined condition" elements in error stanzas as required by <strong>RFC 6120</strong> § 8.3.2.</p>
|
<p>Added "defined condition" elements in error stanzas as required by <strong>RFC 6120</strong> § 8.3.2.</p>
|
||||||
<p>Changed type of "invalid-token" error to "modify".</p>
|
<p>Changed type of "invalid-token" error to "modify".</p>
|
||||||
|
<p>Fix namespacing of Ad-Hoc commands</p>
|
||||||
|
<p>Bump namespace to invite:1</p>
|
||||||
</remark>
|
</remark>
|
||||||
</revision>
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
@ -328,7 +330,7 @@
|
|||||||
<example caption="Retrieving registration fields"><![CDATA[
|
<example caption="Retrieving registration fields"><![CDATA[
|
||||||
<iq type='get' id='reg1' to='example.com'>
|
<iq type='get' id='reg1' to='example.com'>
|
||||||
<query xmlns='jabber:iq:register'>
|
<query xmlns='jabber:iq:register'>
|
||||||
<preauth xmlns='urn:xmpp:invite:0'/>
|
<preauth xmlns='urn:xmpp:invite:1'/>
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
@ -340,7 +342,7 @@
|
|||||||
<query xmlns='jabber:iq:register'>
|
<query xmlns='jabber:iq:register'>
|
||||||
<x xmlns='jabber:x:data' type='form'>
|
<x xmlns='jabber:x:data' type='form'>
|
||||||
<field type='hidden' var='FORM_TYPE'>
|
<field type='hidden' var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:invite:0</value>
|
<value>urn:xmpp:invite:1</value>
|
||||||
</field>
|
</field>
|
||||||
<field type='text-single' label='Username' var='username'>
|
<field type='text-single' label='Username' var='username'>
|
||||||
<required/>
|
<required/>
|
||||||
@ -360,7 +362,7 @@
|
|||||||
<query xmlns='jabber:iq:register'>
|
<query xmlns='jabber:iq:register'>
|
||||||
<x xmlns='jabber:x:data' type='form'>
|
<x xmlns='jabber:x:data' type='form'>
|
||||||
<field type='hidden' var='FORM_TYPE'>
|
<field type='hidden' var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:invite:0</value>
|
<value>urn:xmpp:invite:1</value>
|
||||||
</field>
|
</field>
|
||||||
<field type='text-single' var='username'>
|
<field type='text-single' var='username'>
|
||||||
<value>juliet<value/>
|
<value>juliet<value/>
|
||||||
@ -375,7 +377,7 @@
|
|||||||
</query>
|
</query>
|
||||||
<error type='modify'>
|
<error type='modify'>
|
||||||
<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
|
<bad-request xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
|
||||||
<invalid-token xmlns='urn:xmpp:invite:0'/>
|
<invalid-token xmlns='urn:xmpp:invite:1'/>
|
||||||
</error>
|
</error>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
@ -384,7 +386,7 @@
|
|||||||
<query xmlns='jabber:iq:register'>
|
<query xmlns='jabber:iq:register'>
|
||||||
<x xmlns='jabber:x:data' type='form'>
|
<x xmlns='jabber:x:data' type='form'>
|
||||||
<field type='hidden' var='FORM_TYPE'>
|
<field type='hidden' var='FORM_TYPE'>
|
||||||
<value>urn:xmpp:invite:0</value>
|
<value>urn:xmpp:invite:1</value>
|
||||||
</field>
|
</field>
|
||||||
<field type='text-single' var='username'>
|
<field type='text-single' var='username'>
|
||||||
<value>juliet<value/>
|
<value>juliet<value/>
|
||||||
@ -399,7 +401,7 @@
|
|||||||
</query>
|
</query>
|
||||||
<error type='cancel'>
|
<error type='cancel'>
|
||||||
<not-allowed xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
|
<not-allowed xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
|
||||||
<token-expired xmlns='urn:xmpp:invite:0'/>
|
<token-expired xmlns='urn:xmpp:invite:1'/>
|
||||||
</error>
|
</error>
|
||||||
</iq>
|
</iq>
|
||||||
]]></example>
|
]]></example>
|
||||||
|
Loading…
Reference in New Issue
Block a user